diff options
-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); +} + |