// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
// Check for template type parameter pack (mis-)matches with template
// type parameters.
;
;
; // expected-note{{previous template type parameter pack declared here}}
; // expected-error{{template type parameter conflicts with previous template type parameter pack}}
; // expected-note{{previous template type parameter declared here}}
; // expected-error{{template type parameter pack conflicts with previous template type parameter}}
;
;
; // expected-note{{previous template type parameter pack declared here}}
; // expected-error{{template type parameter conflicts with previous template type parameter pack}}
; // expected-note{{previous template type parameter declared here}}
; // expected-error{{template type parameter pack conflicts with previous template type parameter}}
; // expected-note{{previous non-type template parameter pack declared here}}
; // expected-error{{non-type template parameter conflicts with previous non-type template parameter pack}}
; // expected-note{{previous template template parameter declared here}}
; // expected-error{{template template parameter pack conflicts with previous template template parameter}}
// Check for matching with out-of-line definitions