| David Majnemer | ed9abe1 | 2015-07-22 22:29:30 +0000 | [diff] [blame] | 1 | ; RUN: opt < %s -sccp -S | FileCheck %s |
| 2 | |||||
| 3 | @0 = private unnamed_addr constant [2 x i32] [i32 -1, i32 1] | ||||
| 4 | @"\01??_7A@@6B@" = unnamed_addr alias getelementptr inbounds ([2 x i32], [2 x i32]* @0, i32 0, i32 1) | ||||
| 5 | |||||
| 6 | ; CHECK: ret i32 1 | ||||
| 7 | |||||
| 8 | define i32 @main() { | ||||
| 9 | %a = load i32, i32* @"\01??_7A@@6B@" | ||||
| 10 | ret i32 %a | ||||
| 11 | } | ||||