2009-12-01 11:08:04 +00:00
|
|
|
// RUN: clang-cc -fsyntax-only -verify %s
|
2009-06-02 17:58:47 +00: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}}
|