summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/class.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-05 22:45:59 +0000
committerChris Lattner <sabre@nondot.org>2009-03-05 22:45:59 +0000
commit73bf7b42b629d4f10a600bed8d68b46ec59c9bcc (patch)
tree390886a710090b2a061656f811d44f026edd65a5 /clang/test/SemaCXX/class.cpp
parentc559f3f17538aee3138b7e29646f7497b45ffef7 (diff)
downloadbcm5719-llvm-73bf7b42b629d4f10a600bed8d68b46ec59c9bcc.tar.gz
bcm5719-llvm-73bf7b42b629d4f10a600bed8d68b46ec59c9bcc.zip
fix PR3607 and a fixme, by checking bitfield constraints
more consistently. llvm-svn: 66210
Diffstat (limited to 'clang/test/SemaCXX/class.cpp')
-rw-r--r--clang/test/SemaCXX/class.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaCXX/class.cpp b/clang/test/SemaCXX/class.cpp
index 02608faa0f6..08391c9ba1a 100644
--- a/clang/test/SemaCXX/class.cpp
+++ b/clang/test/SemaCXX/class.cpp
@@ -27,8 +27,8 @@ public:
typedef int func();
func tm;
func *ptm;
- func btm : 1; // expected-error {{error: bit-field 'btm' with non-integral type}}
- NestedC bc : 1; // expected-error {{error: bit-field 'bc' with non-integral type}}
+ func btm : 1; // expected-error {{error: bit-field 'btm' has non-integral type}}
+ NestedC bc : 1; // expected-error {{error: bit-field 'bc' has non-integral type}}
enum E1 { en1, en2 };
OpenPOWER on IntegriCloud