blob: 33156ef23d2e84ad5c632127dc1add8549fef4b2 [file] [log] [blame]
Anders Carlssone89d1592009-06-26 18:41:36 +00001// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
2void f() {
3 auto int a; // expected-error{{cannot combine with previous 'auto' declaration specifier}}
4 int auto b; // expected-error{{cannot combine with previous 'int' declaration specifier}}
5}