diff options
Diffstat (limited to 'test/Assembler/invalid-metadata-has-type.ll')
-rw-r--r-- | test/Assembler/invalid-metadata-has-type.ll | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Assembler/invalid-metadata-has-type.ll b/test/Assembler/invalid-metadata-has-type.ll new file mode 100644 index 0000000..647cb67 --- /dev/null +++ b/test/Assembler/invalid-metadata-has-type.ll @@ -0,0 +1,5 @@ +; RUN: not llvm-as -disable-output < %s 2>&1 | FileCheck %s +; Check common error from old format. + +; CHECK: {{.*}}:[[@LINE+1]]:{{[0-9]+}}: error: unexpected type in metadata definition +!0 = metadata !{} |