1 ; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux | grep {(\$bar)} | count 1
2 ; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux | grep {(\$qux)} | count 1
3 ; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux | grep {(\$hen)} | count 1
6 @"$bar" = global i32 zeroinitializer
7 @"$qux" = external global i32
9 define i32 @"$foo"() nounwind {
10 %m = load i32* @"$bar"
11 %n = load i32* @"$qux"
13 %u = call i32 @"$hen"(i32 %t)
17 declare i32 @"$hen"(i32 %a)