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