Sign in
ara-mdk
/
platform
/
external
/
clang
/
f3260565f46491a0d99e41d47a13767218242ce5
/
.
/
test
/
SemaCXX
/
implicit-int.cpp
blob: 9711adf34304e3622ca4226f0f65a51fafedbcdf [
file
] [
log
] [
blame
]
// 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}}