summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/bitfield-2.c
diff options
context:
space:
mode:
authorRachel Craik <rcraik@ca.ibm.com>2015-09-14 21:27:36 +0000
committerRachel Craik <rcraik@ca.ibm.com>2015-09-14 21:27:36 +0000
commit022bdc7d7361f48a359194e630e8b16f1d134cfe (patch)
treec5fb8cc07ba6e991599a0a92d16763d95f673d83 /clang/test/CodeGen/bitfield-2.c
parentbace032eb81aa9bf2bad513a693291243d03c6a7 (diff)
downloadbcm5719-llvm-022bdc7d7361f48a359194e630e8b16f1d134cfe.tar.gz
bcm5719-llvm-022bdc7d7361f48a359194e630e8b16f1d134cfe.zip
C11 _Bool bitfield diagnostic
Summary: Implement DR262 (for C). This patch will mainly affect bitfields of type _Bool Reviewers: fraggamuffin, rsmith Subscribers: hubert.reinterpretcast, cfe-commits Differential Revision: http://reviews.llvm.org/D10018 llvm-svn: 247618
Diffstat (limited to 'clang/test/CodeGen/bitfield-2.c')
-rw-r--r--clang/test/CodeGen/bitfield-2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/bitfield-2.c b/clang/test/CodeGen/bitfield-2.c
index e4b1b0d9fd5..9d669575ecd 100644
--- a/clang/test/CodeGen/bitfield-2.c
+++ b/clang/test/CodeGen/bitfield-2.c
@@ -237,7 +237,7 @@ unsigned long long test_5() {
/***/
struct s6 {
- _Bool f0 : 2;
+ unsigned f0 : 2;
};
struct s6 g6 = { 0xF };
OpenPOWER on IntegriCloud