aboutsummaryrefslogtreecommitdiff
path: root/test/CXX/temp/temp.param/p14.cpp
blob: 07e6bfe40983ebaee68b5b9e2e38897b01a4ad42 (plain)
1
2
3
4
5
// RUN: clang-cc -fsyntax-only -verify %s 
// XFAIL

// A template-parameter shall not be used in its own default argument.
template<typename T = typename T::type> struct X; // expected-error{{default}}