repo.or.cz
/
clang
/
acc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add include needed for MSVC.
[clang/acc.git]
/
test
/
SemaCXX
/
implicit-int.cpp
blob
6fa8dd3463d306538933f231722e395f5770a175
1
// RUN: clang-cc -fsyntax-only -verify %s
2
3
x
;
// expected-error{{C++ requires a type specifier for all declarations}}
4
5
f
(
int
y
) {
return
y
; }
// expected-error{{C++ requires a type specifier for all declarations}}