Move testcase to the code gen directory.
authorBill Wendling <isanbard@gmail.com>
Sat, 26 Jan 2008 06:53:06 +0000 (06:53 +0000)
committerBill Wendling <isanbard@gmail.com>
Sat, 26 Jan 2008 06:53:06 +0000 (06:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46395 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2008-01-25-EmptyFunction.c [deleted file]
test/CodeGen/PowerPC/2008-01-25-EmptyFunction.c [new file with mode: 0644]

diff --git a/test/CFrontend/2008-01-25-EmptyFunction.c b/test/CFrontend/2008-01-25-EmptyFunction.c
deleted file mode 100644 (file)
index 896738e..0000000
+++ /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 (file)
index 0000000..896738e
--- /dev/null
@@ -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;
+}