2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
2009-02-17 06:38:20 +08:00
|
|
|
|
|
|
|
x; // expected-error{{C++ requires a type specifier for all declarations}}
|
|
|
|
|
|
|
|
f(int y) { return y; } // expected-error{{C++ requires a type specifier for all declarations}}
|