2010-01-01 05:34:51 -05:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
2009-06-02 13:58:47 -04: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}}
|