summaryrefslogtreecommitdiffstats
path: root/clang/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
commit1efa437be6a6cf30520ce86448d422ea9d78d627 (patch)
treeb393af253f0b32ced3c7de628cee350cbf34f4f7 /clang/test/SemaCXX/class.cpp
parent25c6a46a812f2e24ceb08c493703878c68abfde8 (diff)
downloadbcm5719-llvm-1efa437be6a6cf30520ce86448d422ea9d78d627.tar.gz
bcm5719-llvm-1efa437be6a6cf30520ce86448d422ea9d78d627.zip
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. llvm-svn: 66685
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 44ec70f07c2..776fb091da0 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' 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 };
OpenPOWER on IntegriCloud