diff options
Diffstat (limited to 'test/CodeGen/boolassign.c')
-rw-r--r-- | test/CodeGen/boolassign.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/boolassign.c b/test/CodeGen/boolassign.c new file mode 100644 index 0000000..2d14f8c --- /dev/null +++ b/test/CodeGen/boolassign.c @@ -0,0 +1,6 @@ +// RUN: clang-cc %s -emit-llvm -o %t + +int testBoolAssign(void) { +int ss; +if ((ss = ss && ss)) {} +} |