Home | History | Annotate | Download | only in class.derived

Lines Matching refs:decltype

12 // class-or-decltype:
14 // decltype-specifier
16 // class-or-decltype
24 struct Derived : decltype(Base()) { };
27 struct Derived2 : decltype(func()) { }; // expected-error {{base specifier must name a class}}
30 struct Derived3 : decltype(T().foo()) { };
34 struct Derived4 : :: decltype(Base()) { }; // expected-error {{unexpected namespace scope prior to decltype}}
36 struct Derived5 : PR11216:: decltype(Base()) { }; // expected-error {{unexpected namespace scope prior to decltype}}