blob: a285daeab2241ebfdfff5f7df2aa8466e49f5633 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | not grep extern.*msg
2
3; This is PR472
4
5%msg = internal global [6 x sbyte] c"hello\00"
6
7implementation ; Functions:
8
9sbyte* %foo() {
10entry:
11 ret sbyte* getelementptr ([6 x sbyte]* %msg, int 0, int 0)
12}