Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 1 | ; 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 | |||||
7 | implementation ; Functions: | ||||
8 | |||||
9 | sbyte* %foo() { | ||||
10 | entry: | ||||
11 | ret sbyte* getelementptr ([6 x sbyte]* %msg, int 0, int 0) | ||||
12 | } |