Add include needed for MSVC.
[clang/acc.git] / test / SemaCXX / auto-cxx0x.cpp
blobaa92bbe4f1f1784dcebed44d1e8ee093d5b8cad1
1 // RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
2 void f() {
3 auto int a; // expected-error{{cannot combine with previous 'auto' declaration specifier}} // expected-error{{declaration of variable 'a' with type 'auto' requires an initializer}}
4 int auto b; // expected-error{{cannot combine with previous 'int' declaration specifier}}