Home
last modified time | relevance | path

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

/llvm-project/clang/test/SemaCXX/
H A Dclass.cpp20 class NestedC { class in C
22 NestedC(int);
25 x = 0; // expected-error {{use of non-static data member 'x' of 'C' from nested type 'NestedC'}} in f()
27 m(); // expected-error {{call to non-static member function 'm' of 'C' from nested type 'NestedC'}} in f()
41 NestedC bc : 1; // expected-error {{bit-field 'bc' has non-integral type}}
50 static const NestedC ci = 0; // expected-error {{static data member of type 'const NestedC' must be initialized out of line}}
H A Dcxx0x-class.cpp7 struct NestedC { struct in C
8 NestedC(int);
13 …static const NestedC ci = 0; // expected-error {{static data member of type 'const NestedC' must b…