[llvm-commits] CVS: llvm/test/Regression/CFrontend/2003-08-17-DeadCodeShortCircuit.c.tr
Chris Lattner
lattner at cs.uiuc.edu
Sun Aug 17 21:58:01 PDT 2003
Changes in directory llvm/test/Regression/CFrontend:
2003-08-17-DeadCodeShortCircuit.c.tr added (r1.1)
---
Log message:
New testcase distilled from GNU Go
---
Diffs of the changes:
Index: llvm/test/Regression/CFrontend/2003-08-17-DeadCodeShortCircuit.c.tr
diff -c /dev/null llvm/test/Regression/CFrontend/2003-08-17-DeadCodeShortCircuit.c.tr:1.1
*** /dev/null Sun Aug 17 21:57:42 2003
--- llvm/test/Regression/CFrontend/2003-08-17-DeadCodeShortCircuit.c.tr Sun Aug 17 21:57:31 2003
***************
*** 0 ****
--- 1,7 ----
+ // RUN: llvmgcc -xc %s -c
+
+ int test(_Bool pos, _Bool color) {
+ return 0;
+ return (pos && color);
+ }
+
More information about the llvm-commits
mailing list