// RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 %s
// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
// RUN: %clang_cc1 -fsyntax-only -verify %s
;
;
T X<T, U>::value; // expected-error{{no matching constructor}}
IntHolder &
// Explicitly specialize the members of X<IntHolder, long> to not cause
// problems with instantiation.
void
;
IntHolder X<IntHolder, long>::value = 17;
IntHolder &
X<IntHolder, long> // expected-error{{instantiated member}}