Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
b754974ec32ab712ea7d8b52cd8037b24e7d6ed3
/
.
/
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}}