From: Duncan Sands Date: Wed, 26 Sep 2007 07:28:20 +0000 (+0000) Subject: Test the C front-end, not the C++ front-end. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0d91645ba466139c2ef3ffa6aa9670c1b3eef6c7;p=oota-llvm.git Test the C front-end, not the C++ front-end. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42350 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CFrontend/2007-06-05-NoInlineAttribute.c b/test/CFrontend/2007-06-05-NoInlineAttribute.c index 1fd981b6e4d..cb1920aed09 100644 --- a/test/CFrontend/2007-06-05-NoInlineAttribute.c +++ b/test/CFrontend/2007-06-05-NoInlineAttribute.c @@ -1,4 +1,4 @@ -// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep llvm.noinline +// RUN: %llvmgcc -c -emit-llvm %s -o - | llvm-dis | grep llvm.noinline static int bar(int x, int y) __attribute__((noinline)); diff --git a/test/CFrontend/2007-06-15-AnnotateAttribute.c b/test/CFrontend/2007-06-15-AnnotateAttribute.c index 56bdc6ae585..00991173703 100644 --- a/test/CFrontend/2007-06-15-AnnotateAttribute.c +++ b/test/CFrontend/2007-06-15-AnnotateAttribute.c @@ -1,5 +1,5 @@ -// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep llvm.global.annotations -// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep llvm.var.annotation | count 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 diff --git a/test/CFrontend/2007-07-29-RestrictPtrArg.c b/test/CFrontend/2007-07-29-RestrictPtrArg.c index d54dfbe5712..99eae39054b 100644 --- a/test/CFrontend/2007-07-29-RestrictPtrArg.c +++ b/test/CFrontend/2007-07-29-RestrictPtrArg.c @@ -1,4 +1,4 @@ -// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep noalias +// RUN: %llvmgcc -c -emit-llvm %s -o - | llvm-dis | grep noalias void foo(int * __restrict myptr1, int * myptr2) { myptr1[0] = 0; diff --git a/test/CFrontend/2007-09-20-GcrootAttribute.c b/test/CFrontend/2007-09-20-GcrootAttribute.c index aea9d549688..621d1353bba 100644 --- a/test/CFrontend/2007-09-20-GcrootAttribute.c +++ b/test/CFrontend/2007-09-20-GcrootAttribute.c @@ -1,5 +1,5 @@ -// RUN: %llvmgxx -S -emit-llvm %s -o - | grep llvm.gcroot -// RUN: %llvmgxx -S -emit-llvm %s -o - | grep llvm.gcroot | count 6 +// RUN: %llvmgcc -S -emit-llvm %s -o - | grep llvm.gcroot +// RUN: %llvmgcc -S -emit-llvm %s -o - | grep llvm.gcroot | count 6 typedef struct foo_s {