Fix a bug in the LLParser where we failed to diagnose landingpads with non-constant...
[oota-llvm.git] / test / Assembler / invalid-metadata-function-local-complex-3.ll
index 647f93ecabe07856e95baefd09f167eef156a09f..35ec76353738fef7c411452d206ffe154bf1c32a 100644 (file)
@@ -3,7 +3,7 @@
 define void @foo(i32 %v) {
 entry:
 ; CHECK: <stdin>:[[@LINE+1]]:{{[0-9]+}}: error: invalid use of function-local name
-  call void @llvm.bar(metadata !{metadata !{i32 %v}})
+  call void @llvm.bar(metadata !{i32 %v})
   ret void
 }