aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/gv-invalid-type.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/gv-invalid-type.ll')
-rw-r--r--test/Assembler/gv-invalid-type.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Assembler/gv-invalid-type.ll b/test/Assembler/gv-invalid-type.ll
new file mode 100644
index 0000000..bde04da
--- /dev/null
+++ b/test/Assembler/gv-invalid-type.ll
@@ -0,0 +1,4 @@
+; RUN: not llvm-as < %s 2>&1 | FileCheck %s
+
+@gv = global metadata undef
+; CHECK: invalid type for global variable