Duncan P. N. Exon Smith | a77df65 | 2014-12-07 17:56:16 +0000 | [diff] [blame] | 1 | ; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s |
2 | |||||
3 | define void @foo(i32 %v) { | ||||
4 | entry: | ||||
Duncan P. N. Exon Smith | dad20b2 | 2014-12-09 18:38:53 +0000 | [diff] [blame] | 5 | ; CHECK: <stdin>:[[@LINE+1]]:{{[0-9]+}}: error: invalid use of function-local name |
Duncan P. N. Exon Smith | a77df65 | 2014-12-07 17:56:16 +0000 | [diff] [blame] | 6 | ret void, !foo !{i32 %v} |
7 | } |