diff options
Diffstat (limited to 'test/FrontendC/2003-08-17-DeadCodeShortCircuit.c')
-rw-r--r-- | test/FrontendC/2003-08-17-DeadCodeShortCircuit.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/FrontendC/2003-08-17-DeadCodeShortCircuit.c b/test/FrontendC/2003-08-17-DeadCodeShortCircuit.c new file mode 100644 index 0000000000000..c275fee5d09a3 --- /dev/null +++ b/test/FrontendC/2003-08-17-DeadCodeShortCircuit.c @@ -0,0 +1,7 @@ +// RUN: %llvmgcc -xc %s -c -o %t.o + +int test(_Bool pos, _Bool color) { + return 0; + return (pos && color); +} + |