// RUN: %clang_cc1 -fsyntax-only -verify %s
// RUN: %clang_cc1 -fsyntax-only -verify -std=c++03 %s
// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
// PR5336
;
void
;
void
// Implicit template-ids.
;
void
// Not template-id expressions, but they almost look like it.
;
;
;
// 'template' as a disambiguator.
// PR7030
;
void Y0
::template // expected-error {{expected unqualified-id}}
// FIXME: error recovery is awful without this.
;
;
void // expected-note {{in instantiation of}}
;
void // expected-note {{in instantiation of}}
;
void
; // expected-note {{in instantiation of function template specialization 'f5<0>' requested here}}
;
;
// expected-warning@+2 {{extension}}
using D = int; // expected-note {{declared here}}
E<D> ed; // expected-note {{instantiation of}}