blob: 9711adf34304e3622ca4226f0f65a51fafedbcdf (
plain)
1
2
3
4
5
|
// RUN: %clang_cc1 -fsyntax-only -verify %s
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}}
|