Anders Carlsson | e89d159 | 2009-06-26 18:41:36 +0000 | [diff] [blame^] | 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}} | ||||
4 | int auto b; // expected-error{{cannot combine with previous 'int' declaration specifier}} | ||||
5 | } |