Sign in
fuchsia
/
third_party
/
github.com
/
llvm
/
llvm-project
/
5369517d20dd362a178a1b2d6c398d8898ee4620
/
.
/
clang
/
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}}