aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/invalid-specialized-mdnode.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/invalid-specialized-mdnode.ll')
-rw-r--r--test/Assembler/invalid-specialized-mdnode.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Assembler/invalid-specialized-mdnode.ll b/test/Assembler/invalid-specialized-mdnode.ll
new file mode 100644
index 0000000..9a84abb
--- /dev/null
+++ b/test/Assembler/invalid-specialized-mdnode.ll
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
+
+; CHECK: <stdin>:[[@LINE+1]]:6: error: expected metadata type
+!0 = !Invalid(field: 0)