diff options
author | Chris Lattner <sabre@nondot.org> | 2008-01-30 07:01:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-01-30 07:01:17 +0000 |
commit | 05ba4cbe178057a2a0588ddba2eb25d38902c34d (patch) | |
tree | d7135909fe4b508cadb953537a731a9fdc8382b8 /clang/test | |
parent | e850fa2452d902f96e9a1866a612ed3a5c5dd9b7 (diff) | |
download | bcm5719-llvm-05ba4cbe178057a2a0588ddba2eb25d38902c34d.tar.gz bcm5719-llvm-05ba4cbe178057a2a0588ddba2eb25d38902c34d.zip |
fix a problem reported by Eli, caused by not keeping bool as i1
when in a register.
llvm-svn: 46552
Diffstat (limited to 'clang/test')
-rw-r--r-- | clang/test/CodeGen/exprs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/CodeGen/exprs.c b/clang/test/CodeGen/exprs.c index 502cb83c131..91153691733 100644 --- a/clang/test/CodeGen/exprs.c +++ b/clang/test/CodeGen/exprs.c @@ -14,3 +14,6 @@ void *test(int *i) { a + i; } +_Bool test2b; +int test2() {if (test2b);} + |