From 05ba4cbe178057a2a0588ddba2eb25d38902c34d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 30 Jan 2008 07:01:17 +0000 Subject: fix a problem reported by Eli, caused by not keeping bool as i1 when in a register. llvm-svn: 46552 --- clang/test/CodeGen/exprs.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'clang/test/CodeGen/exprs.c') 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);} + -- cgit v1.2.3