// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
;
// expected-note {{non-deducible}}
; // expected-error{{contains a template parameter that cannot be deduced}}
; // expected-note {{here}}
; // ok (DR1315)
X2<X1<1, 2, 3>, 2, 3, 4> x2; // ok
X2<X1<1, 2, 3>, 2, 3, 4, 5> x3; // expected-error {{undefined template}}