diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2011-10-20 21:10:27 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2011-10-20 21:10:27 +0000 |
commit | 30815c536baacc07e925f0aef23a5395883173dc (patch) | |
tree | 2cbcf22585e99f8a87d12d5ff94f392c0d266819 /test/LLVMC/C | |
parent | 411bd29eea3c360d5b48a18a17b5e87f5671af0e (diff) |
Diffstat (limited to 'test/LLVMC/C')
-rw-r--r-- | test/LLVMC/C/dg.exp | 5 | ||||
-rw-r--r-- | test/LLVMC/C/emit-llvm-opt.c | 9 | ||||
-rw-r--r-- | test/LLVMC/C/emit-llvm.c | 8 | ||||
-rw-r--r-- | test/LLVMC/C/hello.c | 13 | ||||
-rw-r--r-- | test/LLVMC/C/include.c | 10 | ||||
-rw-r--r-- | test/LLVMC/C/opt-test.c | 13 | ||||
-rw-r--r-- | test/LLVMC/C/sink.c | 13 | ||||
-rw-r--r-- | test/LLVMC/C/wall.c | 13 |
8 files changed, 0 insertions, 84 deletions
diff --git a/test/LLVMC/C/dg.exp b/test/LLVMC/C/dg.exp deleted file mode 100644 index a9be28a63cf6..000000000000 --- a/test/LLVMC/C/dg.exp +++ /dev/null @@ -1,5 +0,0 @@ -load_lib llvm.exp - -if [ llvm_gcc_supports c ] then { - RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]] -} diff --git a/test/LLVMC/C/emit-llvm-opt.c b/test/LLVMC/C/emit-llvm-opt.c deleted file mode 100644 index 50710cf9dba2..000000000000 --- a/test/LLVMC/C/emit-llvm-opt.c +++ /dev/null @@ -1,9 +0,0 @@ -// Check that -emit-llvm [-S] works with -opt. - -// RUN: llvmc -c -opt -emit-llvm -o - %s | llvm-dis | grep "@f0()" | count 1 -// RUN: llvmc -c -opt -emit-llvm -S -o - %s | grep "@f0()" | count 1 -// RUN: llvmc --dry-run -c -opt -emit-llvm %s |& grep "^opt" -// XFAIL: vg_leak - -int f0(void) { -} diff --git a/test/LLVMC/C/emit-llvm.c b/test/LLVMC/C/emit-llvm.c deleted file mode 100644 index 56a1e30b2e42..000000000000 --- a/test/LLVMC/C/emit-llvm.c +++ /dev/null @@ -1,8 +0,0 @@ -// Check that -emit-llvm [-S] works correctly. - -// RUN: llvmc -c -emit-llvm -o - %s | llvm-dis | grep "@f0()" | count 1 -// RUN: llvmc -c -emit-llvm -S -o - %s | grep "@f0()" | count 1 -// XFAIL: vg_leak - -int f0(void) { -} diff --git a/test/LLVMC/C/hello.c b/test/LLVMC/C/hello.c deleted file mode 100644 index 29ad39fd2cb6..000000000000 --- a/test/LLVMC/C/hello.c +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Check that we can compile helloworld - * RUN: llvmc %s -o %t - * RUN: %abs_tmp | grep hello - * XFAIL: vg_leak - */ - -#include <stdio.h> - -int main() { - printf("hello\n"); - return 0; -} diff --git a/test/LLVMC/C/include.c b/test/LLVMC/C/include.c deleted file mode 100644 index 9c9530bfb49f..000000000000 --- a/test/LLVMC/C/include.c +++ /dev/null @@ -1,10 +0,0 @@ -/* - * Check that the 'include' options work. - * RUN: echo "int x;\n" > %t1.inc - * RUN: llvmc -include %t1.inc -fsyntax-only %s - * XFAIL: vg_leak - */ - -int f0(void) { - return x; -} diff --git a/test/LLVMC/C/opt-test.c b/test/LLVMC/C/opt-test.c deleted file mode 100644 index 7924def203ab..000000000000 --- a/test/LLVMC/C/opt-test.c +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Check that the -opt switch works. - * RUN: llvmc %s -opt -o %t - * RUN: %abs_tmp | grep hello - * XFAIL: vg_leak - */ - -#include <stdio.h> - -int main() { - printf("hello\n"); - return 0; -} diff --git a/test/LLVMC/C/sink.c b/test/LLVMC/C/sink.c deleted file mode 100644 index c4f9beba8c38..000000000000 --- a/test/LLVMC/C/sink.c +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Check that the 'sink' options work. - * RUN: llvmc -v -Wall %s -o %t |& grep "Wall" - * RUN: %abs_tmp | grep hello - * XFAIL: vg_leak - */ - -#include <stdio.h> - -int main() { - printf("hello\n"); - return 0; -} diff --git a/test/LLVMC/C/wall.c b/test/LLVMC/C/wall.c deleted file mode 100644 index 36813ba0f833..000000000000 --- a/test/LLVMC/C/wall.c +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Check that -Wall works as intended - * RUN: llvmc -Wall %s -o %t - * RUN: %abs_tmp | grep hello - * XFAIL: vg_leak - */ - -#include <stdio.h> - -int main() { - printf("hello\n"); - return 0; -} |