blob: 4d8f003fc73a9579e22249a9bc5141cb920f60ef [file] [log] [blame]
Karl Schimpf7a993272015-08-17 12:43:29 -07001; Test if we recognize a forward reference that can't be in function block.
2
3; REQUIRES: no_minimal_build
4
5; RUN: not %pnacl_sz -bitcode-as-text %p/Inputs/bad-var-fwdref.tbc \
Jim Stichnoth0d4fc922015-12-13 21:36:33 -08006; RUN: -bitcode-format=pnacl -notranslate -build-on-read \
Karl Schimpf57d31ac2015-10-07 09:53:12 -07007; RUN: -allow-externally-defined-symbols 2>&1 \
Karl Schimpf7a993272015-08-17 12:43:29 -07008; RUN: | FileCheck %s
9
10; CHECK: Forward reference @3105555534 too big. Have 1 globals and function contains 16 bytes