From fe65f947dda6dc41dae63a76db9c6ae77423b378 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 18 Aug 2003 02:57:31 +0000 Subject: [PATCH] New testcase distilled from GNU Go llvm-svn: 7930 --- .../CFrontend/2003-08-17-DeadCodeShortCircuit.c.tr | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 llvm/test/Regression/CFrontend/2003-08-17-DeadCodeShortCircuit.c.tr diff --git a/llvm/test/Regression/CFrontend/2003-08-17-DeadCodeShortCircuit.c.tr b/llvm/test/Regression/CFrontend/2003-08-17-DeadCodeShortCircuit.c.tr new file mode 100644 index 000000000000..938ea9ff2b42 --- /dev/null +++ b/llvm/test/Regression/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); +} +