diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2008-01-29 18:13:51 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2008-01-29 18:13:51 +0000 |
commit | 356916ec84826a793b0353e5db0e9a7589b9ec5c (patch) | |
tree | cad0e6b89645c9c855dabd15f53868d406690951 /test/CodeGen/boolassign.c | |
parent | 68fd257ada1ed5a20728241962a21826ae36ef63 (diff) |
Fix a bug where CodeGen would attempt to erase an instruction that was
already used.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46519 91177308-0d34-0410-b5e6-96231b3b80d8
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 0000000000..7f76a92459 --- /dev/null +++ b/test/CodeGen/boolassign.c @@ -0,0 +1,6 @@ +// RUN: clang %s -emit-llvm + +int testBoolAssign(void) { +int ss; +if ((ss = ss && ss)) {} +} |