diff options
Diffstat (limited to 'test/Assembler/invalid-mdnode-badref.ll')
-rw-r--r-- | test/Assembler/invalid-mdnode-badref.ll | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Assembler/invalid-mdnode-badref.ll b/test/Assembler/invalid-mdnode-badref.ll new file mode 100644 index 0000000..cfa03e0 --- /dev/null +++ b/test/Assembler/invalid-mdnode-badref.ll @@ -0,0 +1,5 @@ +; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s +!named = !{!0} + +; CHECK: [[@LINE+1]]:14: error: use of undefined metadata '!1' +!0 = !{!0, !1} |