Add reference to PR 9278 for archaeologists.

llvm-svn: 126164
This commit is contained in:
Richard Smith 2011-02-22 00:19:36 +00:00
parent 9b48fef478
commit e51cb7dedf
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ struct S {
operator auto(); // expected-error{{'auto' not allowed here}}
};
// PR 9278: auto is not allowed in typedefs, except with a trailing return type.
typedef auto *AutoPtr; // expected-error{{'auto' not allowed in typedef}}
typedef auto Fun(int a) -> decltype(a + a);