1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // Don't crash (PR18284).
8 A::RunTest() {} // expected-error {{a type specifier is required for all declarations}}
17 class C
: public A
{ };
19 A::RunTest() {} // expected-error {{a type specifier is required for all declarations}}