Karl Schimpf | 7a99327 | 2015-08-17 12:43:29 -0700 | [diff] [blame] | 1 | ; 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 Stichnoth | 0d4fc92 | 2015-12-13 21:36:33 -0800 | [diff] [blame] | 6 | ; RUN: -bitcode-format=pnacl -notranslate -build-on-read \ |
Karl Schimpf | 57d31ac | 2015-10-07 09:53:12 -0700 | [diff] [blame] | 7 | ; RUN: -allow-externally-defined-symbols 2>&1 \ |
Karl Schimpf | 7a99327 | 2015-08-17 12:43:29 -0700 | [diff] [blame] | 8 | ; RUN: | FileCheck %s |
| 9 | |
| 10 | ; CHECK: Forward reference @3105555534 too big. Have 1 globals and function contains 16 bytes |