Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
3bccf083327e75d29e857c3fed05f89706619205
/
.
/
test
/
SemaCXX
/
auto-cxx0x.cpp
blob: 33156ef23d2e84ad5c632127dc1add8549fef4b2 [
file
] [
log
] [
blame
]
// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
void
f
()
{
auto
int
a
;
// expected-error{{cannot combine with previous 'auto' declaration specifier}}
int
auto
b
;
// expected-error{{cannot combine with previous 'int' declaration specifier}}
}