Add testcase
[oota-llvm.git] / test / CFrontend / 2007-06-15-AnnotateAttribute.c
index 18ce69389dca9085cb1ebe8e1850a3c74b4c4519..00991173703679d351efec8b4a184b5c7ec89373 100644 (file)
@@ -1,6 +1,5 @@
-// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep llvm.global.annotations | grep foo \ 
-// RUN: | grep @X | grep @a
-// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep -c llvm.var.annotation | grep 3 
+// RUN: %llvmgcc -c -emit-llvm %s -o - | llvm-dis | grep llvm.global.annotations
+// RUN: %llvmgcc -c -emit-llvm %s -o - | llvm-dis | grep llvm.var.annotation | count 3 
 
 #include <stdio.h>