Skip to content

Commit f377fe1

Browse files
committed
Add a test case
1 parent f1c184b commit f377fe1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// RUN: not %clang_cc1 %s -fmessage-length=50 -fcolor-diagnostics -fno-show-source-location -o - 2>&1 | FileCheck %s
2+
3+
struct F {
4+
float a : 10;
5+
};
6+
// CHECK: bit-field 'a' has non-integral type 'float'

0 commit comments

Comments
 (0)