diff options
author | Duncan Sands <baldrick@free.fr> | 2007-09-26 07:28:20 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2007-09-26 07:28:20 +0000 |
commit | 0d91645ba466139c2ef3ffa6aa9670c1b3eef6c7 (patch) | |
tree | b39cf1719edcffd6db9247cca6d718921c2b49ce /test | |
parent | 6b588d9255ed7e29f681c1b9da9633f9e163a984 (diff) |
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.c | 2 | ||||
-rw-r--r-- | test/CFrontend/2007-06-15-AnnotateAttribute.c | 4 | ||||
-rw-r--r-- | test/CFrontend/2007-07-29-RestrictPtrArg.c | 2 | ||||
-rw-r--r-- | test/CFrontend/2007-09-20-GcrootAttribute.c | 4 |
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 1fd981b6e4..cb1920aed0 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 56bdc6ae58..0099117370 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 d54dfbe571..99eae39054 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 aea9d54968..621d1353bb 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 { |