diff options
Diffstat (limited to 'clang/test/CodeGen/2003-08-17-DeadCodeShortCircuit.c')
| -rw-r--r-- | clang/test/CodeGen/2003-08-17-DeadCodeShortCircuit.c | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/clang/test/CodeGen/2003-08-17-DeadCodeShortCircuit.c b/clang/test/CodeGen/2003-08-17-DeadCodeShortCircuit.c new file mode 100644 index 0000000..031b530 --- /dev/null +++ b/clang/test/CodeGen/2003-08-17-DeadCodeShortCircuit.c @@ -0,0 +1,6 @@ +// RUN: %clang_cc1 -x c %s -emit-llvm -o /dev/null + +int test(_Bool pos, _Bool color) { +  return 0; +  return (pos && color); +} | 
