Make this pass for CYGWIN.
[oota-llvm.git] / test / CFrontend / sret.c
index b82ef312505e19caa2c126b682956eca3312923a..9e34d7561ee1f1cd5d20260df3fdf9802a29974f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc %s -S -emit-llvm -O0 -o - | grep 'sret' | wc -l | grep '5'
+// RUN: %llvmgcc %s -S -emit-llvm -O0 -o - | grep sret | count 5
 
 struct abc {
  int a;
@@ -12,4 +12,4 @@ struct abc foo2();
 void bar() {
   struct abc dummy1 = foo1();
   struct abc dummy2 = foo2();
-}
\ No newline at end of file
+}