HomeSort by relevance Sort by last modified time
    Searched refs:NestedC (Results 1 - 2 of 2) sorted by null

  /external/clang/test/SemaCXX/
cxx0x-class.cpp 7 struct NestedC {
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}}
class.cpp 14 class NestedC {
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 662 milliseconds