commit | c960bbca6b3c9602e701a9697aa5f9e81efd159a | [log] [tgz] |
---|---|---|
author | Lauro Ramos Venancio <lauro.venancio@gmail.com> | Fri Feb 08 19:46:46 2008 +0000 |
committer | Lauro Ramos Venancio <lauro.venancio@gmail.com> | Fri Feb 08 19:46:46 2008 +0000 |
tree | faf4ba53dcea869bdad58b4fb02a65797fe3f10a | |
parent | b8958d659b0e5c4cfd944cf961b61221c7344e41 [diff] [blame] |
Fix a bitfield regression. Reported by Anders Carlsson. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46889 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/2008-02-08-bitfield-bug.c b/test/CodeGen/2008-02-08-bitfield-bug.c new file mode 100644 index 0000000..1a9c266 --- /dev/null +++ b/test/CodeGen/2008-02-08-bitfield-bug.c
@@ -0,0 +1,9 @@ +// RUN: clang %s -emit-llvm + +struct test { + unsigned a:1; + unsigned b:1; +}; + +struct test *t; +