From: Bill Wendling Date: Sat, 26 Jan 2008 06:53:06 +0000 (+0000) Subject: Move testcase to the code gen directory. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f7214bca742255f012ba205e13a6548defafad0c;p=oota-llvm.git Move testcase to the code gen directory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46395 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CFrontend/2008-01-25-EmptyFunction.c b/test/CFrontend/2008-01-25-EmptyFunction.c deleted file mode 100644 index 896738ee063..00000000000 --- a/test/CFrontend/2008-01-25-EmptyFunction.c +++ /dev/null @@ -1,7 +0,0 @@ -// RUN: %llvmgcc -O2 -S -o - -emit-llvm %s | grep llvm.trap -// RUN: %llvmgcc -O2 -S -o - -emit-llvm %s | grep unreachable - -void bork() { - int *address = 0; - *address = 0; -} diff --git a/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.c b/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.c new file mode 100644 index 00000000000..896738ee063 --- /dev/null +++ b/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.c @@ -0,0 +1,7 @@ +// RUN: %llvmgcc -O2 -S -o - -emit-llvm %s | grep llvm.trap +// RUN: %llvmgcc -O2 -S -o - -emit-llvm %s | grep unreachable + +void bork() { + int *address = 0; + *address = 0; +}