diff options
author | Chris Lattner <sabre@nondot.org> | 2003-08-18 02:57:31 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-08-18 02:57:31 +0000 |
commit | c7e07aa0d68bc3ea3bc922224a5d39f544f54ec3 (patch) | |
tree | cd2508a56fef1422ed1da633a72899f4bd84cd59 /test | |
parent | 57c69416310ea5eb990800fba75ae99016fa1444 (diff) | |
download | llvm-c7e07aa0d68bc3ea3bc922224a5d39f544f54ec3.tar.gz llvm-c7e07aa0d68bc3ea3bc922224a5d39f544f54ec3.tar.bz2 llvm-c7e07aa0d68bc3ea3bc922224a5d39f544f54ec3.tar.xz |
New testcase distilled from GNU Go
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7930 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CFrontend/2003-08-17-DeadCodeShortCircuit.c.tr | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CFrontend/2003-08-17-DeadCodeShortCircuit.c.tr b/test/CFrontend/2003-08-17-DeadCodeShortCircuit.c.tr new file mode 100644 index 0000000000..938ea9ff2b --- /dev/null +++ b/test/CFrontend/2003-08-17-DeadCodeShortCircuit.c.tr @@ -0,0 +1,7 @@ +// RUN: llvmgcc -xc %s -c + +int test(_Bool pos, _Bool color) { + return 0; + return (pos && color); +} + |