Searched refs:NestedC (Results 1 - 2 of 2) sorted by relevance

/external/clang/test/SemaCXX/
H A Dcxx0x-class.cpp7 struct NestedC { struct in class:C
8 NestedC(int);
13 static const NestedC ci = 0; // expected-error {{static data member of type 'const C::NestedC' must be initialized out of line}}
H A Dclass.cpp14 class NestedC { class in class:C
16 NestedC(int);
19 x = 0; // expected-error {{use of non-static data member 'x' of 'C' from nested type 'NestedC'}}
21 m(); // expected-error {{call to non-static member function 'm' of 'C' from nested type 'NestedC'}}
35 NestedC bc : 1; // expected-error {{bit-field 'bc' has non-integral type}}
41 static const NestedC ci = 0; // expected-error {{static data member of type 'const C::NestedC' must be initialized out of line}}

Completed in 288 milliseconds