From 0bcbceb6475302465a770fcdb05a38166714d0de Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Wed, 26 Sep 2007 07:28:20 +0000 Subject: [PATCH] Test the C front-end, not the C++ front-end. llvm-svn: 42350 --- llvm/test/CFrontend/2007-06-05-NoInlineAttribute.c | 2 +- llvm/test/CFrontend/2007-06-15-AnnotateAttribute.c | 4 ++-- llvm/test/CFrontend/2007-07-29-RestrictPtrArg.c | 2 +- llvm/test/CFrontend/2007-09-20-GcrootAttribute.c | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/llvm/test/CFrontend/2007-06-05-NoInlineAttribute.c b/llvm/test/CFrontend/2007-06-05-NoInlineAttribute.c index 1fd981b6e4df..cb1920aed091 100644 --- a/llvm/test/CFrontend/2007-06-05-NoInlineAttribute.c +++ b/llvm/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/llvm/test/CFrontend/2007-06-15-AnnotateAttribute.c b/llvm/test/CFrontend/2007-06-15-AnnotateAttribute.c index 56bdc6ae5853..009911737036 100644 --- a/llvm/test/CFrontend/2007-06-15-AnnotateAttribute.c +++ b/llvm/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/llvm/test/CFrontend/2007-07-29-RestrictPtrArg.c b/llvm/test/CFrontend/2007-07-29-RestrictPtrArg.c index d54dfbe57121..99eae39054b3 100644 --- a/llvm/test/CFrontend/2007-07-29-RestrictPtrArg.c +++ b/llvm/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/llvm/test/CFrontend/2007-09-20-GcrootAttribute.c b/llvm/test/CFrontend/2007-09-20-GcrootAttribute.c index aea9d5496885..621d1353bbab 100644 --- a/llvm/test/CFrontend/2007-09-20-GcrootAttribute.c +++ b/llvm/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 {