summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/weak.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/weak.ll')
-rw-r--r--test/CodeGen/X86/weak.ll7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/CodeGen/X86/weak.ll b/test/CodeGen/X86/weak.ll
index 1397b191e4..28638afd57 100644
--- a/test/CodeGen/X86/weak.ll
+++ b/test/CodeGen/X86/weak.ll
@@ -1,3 +1,4 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86
-%a = extern_weak global int
-%b = global int* %a
+; RUN: llvm-as < %s | llc -march=x86
+@a = extern_weak global i32 ; <i32*> [#uses=1]
+@b = global i32* @a ; <i32**> [#uses=0]
+