diff options
Diffstat (limited to 'test/Verifier/module-flags-2.ll')
-rw-r--r-- | test/Verifier/module-flags-2.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Verifier/module-flags-2.ll b/test/Verifier/module-flags-2.ll new file mode 100644 index 0000000..8582162 --- /dev/null +++ b/test/Verifier/module-flags-2.ll @@ -0,0 +1,6 @@ +; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s + +!llvm.module.flags = !{!0} +!0 = !{null, null, null} + +; CHECK: invalid behavior operand in module flag (expected constant integer) |