From 1efa437be6a6cf30520ce86448d422ea9d78d627 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Wed, 11 Mar 2009 18:59:21 +0000 Subject: 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 --- clang/test/SemaCXX/class.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang/test/SemaCXX/class.cpp') 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 }; -- cgit v1.2.3