Add testcase
[oota-llvm.git] / test / CFrontend / 2006-01-16-BitCountIntrinsicsUnsigned.c
index ee74432db310d465550ab67c3c2a632de7158699..598ffb5132c08e8cf341a8a3c19f6bf40441a9e4 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: %llvmgcc -S %s -o - | grep {llvm.ctlz.i32( i32} | wc -l | grep 2
-// RUN: %llvmgcc -S %s -o - | grep {llvm.ctlz.i32(i32} | wc -l | grep 1
+// RUN: %llvmgcc -S %s -o - | grep {llvm.ctlz.i32( i32} | count 2
+// RUN: %llvmgcc -S %s -o - | grep {llvm.ctlz.i32(i32} | count 1
 
 unsigned t2(unsigned X) {
   return __builtin_clz(X);