aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/AArch64/extern-weak.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/AArch64/extern-weak.ll')
-rw-r--r--test/CodeGen/AArch64/extern-weak.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/AArch64/extern-weak.ll b/test/CodeGen/AArch64/extern-weak.ll
index f647c4b..2203c0c 100644
--- a/test/CodeGen/AArch64/extern-weak.ll
+++ b/test/CodeGen/AArch64/extern-weak.ll
@@ -31,7 +31,7 @@ define i32()* @foo() {
@arr_var = extern_weak global [10 x i32]
define i32* @bar() {
- %addr = getelementptr [10 x i32]* @arr_var, i32 0, i32 5
+ %addr = getelementptr [10 x i32], [10 x i32]* @arr_var, i32 0, i32 5
; CHECK: adrp x[[ADDRHI:[0-9]+]], :got:arr_var