From: Chris Lattner Date: Mon, 18 Aug 2003 02:57:31 +0000 (+0000) Subject: New testcase distilled from GNU Go X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=c7e07aa0d68bc3ea3bc922224a5d39f544f54ec3;p=oota-llvm.git New testcase distilled from GNU Go git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7930 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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 00000000000..938ea9ff2b4 --- /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); +} +