| // RUN: %clang_cc1 -fobjc-runtime=gcc -frecovery-ast -verify %s |
| int Foo : foo(); // expected-error {{use of undeclared identifier}} |
| struct X { int Y: foo(); }; // expected-error {{use of undeclared identifier}} |
| constexpr int s = sizeof(Ivar); |
| constexpr int ss = sizeof(X); |
| return undef(); // expected-error {{use of undeclared identifier}} |
| constexpr int sss = sizeof(Y); |
| bool Foo(int *); // expected-note {{candidate function not viable}} |
| // error-bit should be propagated from TemplateArgument to NestNameSpecifier. |
| class Base<decltype(Foo(T()))>::type C; // expected-error {{no matching function for call to 'Foo'}} |
| int X : func<int>(); // expected-note {{in instantiation of function template}} |
| constexpr int ssss = sizeof(Z); |
| int X : sizeof(_ExtInt(invalid())); // expected-error {{use of undeclared identifier}} |
| constexpr int sssss = sizeof(Z2); |