aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/extern_weak.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/extern_weak.ll')
-rw-r--r--test/CodeGen/X86/extern_weak.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/extern_weak.ll b/test/CodeGen/X86/extern_weak.ll
index 853a713..df05b97 100644
--- a/test/CodeGen/X86/extern_weak.ll
+++ b/test/CodeGen/X86/extern_weak.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=i686-apple-darwin | grep weak_reference | wc -l | grep 2
+; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=i686-apple-darwin | grep weak_reference | count 2
%Y = global int (sbyte*)* %X
declare extern_weak int %X(sbyte*)