Sign in
cobalt
/
cobalt
/
63c7ad499be49ef959b3b1c5ea3f48491aa033d3
/
.
/
src
/
third_party
/
llvm-project
/
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}}