// RUN: %clang_cc1 -fsyntax-only -verify %s
// RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 %s
// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
;
typedef int ;
A<function> a; // expected-note{{instantiation of}}
;
B<function> b; // expected-note{{instantiation of}}
int ; // expected-note{{candidate template ignored: substitution failure}}
;
// expected-note@-2 {{unnamed type used in template argument was declared here}}
void