aboutsummaryrefslogtreecommitdiff
path: root/test/SemaCXX/class.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-03-11 18:59:21 +0000
committerDouglas Gregor <dgregor@apple.com>2009-03-11 18:59:21 +0000
commit3cf538d5c49bbebac1afa6f4a5010e3d877440bb (patch)
tree02847e5829ae346324a17c3d529e6c5ae5ad4057 /test/SemaCXX/class.cpp
parentdb51a55c4922b055a90a370ce9906455887a8564 (diff)
Implement basic template instantiation for fields. Reshuffle checking
for FieldDecls so that the parser and the template instantiation make use of the same semantic checking module. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66685 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX/class.cpp')
-rw-r--r--test/SemaCXX/class.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaCXX/class.cpp b/test/SemaCXX/class.cpp
index 44ec70f07c..776fb091da 100644
--- a/test/SemaCXX/class.cpp
+++ b/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' has non-integral type}}
- NestedC bc : 1; // expected-error {{error: bit-field 'bc' has non-integral type}}
+ func btm : 1; // expected-error {{bit-field 'btm' has non-integral type}}
+ NestedC bc : 1; // expected-error {{bit-field 'bc' has non-integral type}}
enum E1 { en1, en2 };