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