diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-01-26 06:53:06 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-01-26 06:53:06 +0000 |
commit | a0da35341d587f3a29678e15f012791e6accd80f (patch) | |
tree | 5f45f7f44f7c62e5748451a4ad2a5d0b71f43706 /test/CodeGen/PowerPC | |
parent | 36ccaea327a7b307131fe09db2feb6781acd69a0 (diff) | |
download | external_llvm-a0da35341d587f3a29678e15f012791e6accd80f.zip external_llvm-a0da35341d587f3a29678e15f012791e6accd80f.tar.gz external_llvm-a0da35341d587f3a29678e15f012791e6accd80f.tar.bz2 |
Move testcase to the code gen directory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46395 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC')
-rw-r--r-- | test/CodeGen/PowerPC/2008-01-25-EmptyFunction.c | 7 |
1 files changed, 7 insertions, 0 deletions
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 0000000..896738e --- /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; +} |