aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/GlobalOpt/deadglobal-2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/GlobalOpt/deadglobal-2.ll')
-rw-r--r--test/Transforms/GlobalOpt/deadglobal-2.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/GlobalOpt/deadglobal-2.ll b/test/Transforms/GlobalOpt/deadglobal-2.ll
index 4f81819..6b8717e 100644
--- a/test/Transforms/GlobalOpt/deadglobal-2.ll
+++ b/test/Transforms/GlobalOpt/deadglobal-2.ll
@@ -5,7 +5,7 @@
@G = internal global [4 x i32] zeroinitializer
define void @foo(i32 %X) {
- %Ptr = getelementptr [4 x i32]* @G, i32 0, i32 %X
+ %Ptr = getelementptr [4 x i32], [4 x i32]* @G, i32 0, i32 %X
store i32 1, i32* %Ptr
ret void
}