aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2007-09-26 07:28:20 +0000
committerDuncan Sands <baldrick@free.fr>2007-09-26 07:28:20 +0000
commit0d91645ba466139c2ef3ffa6aa9670c1b3eef6c7 (patch)
treeb39cf1719edcffd6db9247cca6d718921c2b49ce /test
parent6b588d9255ed7e29f681c1b9da9633f9e163a984 (diff)
downloadexternal_llvm-0d91645ba466139c2ef3ffa6aa9670c1b3eef6c7.zip
external_llvm-0d91645ba466139c2ef3ffa6aa9670c1b3eef6c7.tar.gz
external_llvm-0d91645ba466139c2ef3ffa6aa9670c1b3eef6c7.tar.bz2
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
Diffstat (limited to 'test')
-rw-r--r--test/CFrontend/2007-06-05-NoInlineAttribute.c2
-rw-r--r--test/CFrontend/2007-06-15-AnnotateAttribute.c4
-rw-r--r--test/CFrontend/2007-07-29-RestrictPtrArg.c2
-rw-r--r--test/CFrontend/2007-09-20-GcrootAttribute.c4
4 files changed, 6 insertions, 6 deletions
diff --git a/test/CFrontend/2007-06-05-NoInlineAttribute.c b/test/CFrontend/2007-06-05-NoInlineAttribute.c
index 1fd981b..cb1920a 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 56bdc6a..0099117 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 <stdio.h>
diff --git a/test/CFrontend/2007-07-29-RestrictPtrArg.c b/test/CFrontend/2007-07-29-RestrictPtrArg.c
index d54dfbe..99eae39 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 aea9d54..621d135 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
{