Sign in
llvm
/
clang
/
refs/heads/release_26
/
.
/
test
/
SemaCXX
/
implicit-int.cpp
blob: 6fa8dd3463d306538933f231722e395f5770a175 [
file
] [
log
] [
blame
]
// RUN: clang-cc -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}}