Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
7c80bd64032e610c0dbd74fc0ef6ea334447f2fd
/
.
/
test
/
SemaCXX
/
implicit-int.cpp
blob: f771810e6fa9a520785adf0221fef906d02ba8a4 [
file
] [
log
] [
blame
]
// RUN: clang -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}}