This test is no longer relevant. It is covered already by [basic.scope.pdecl]p10, and our current test for that is more thorough (though our test is named p9.cpp).
llvm-svn: 209892
This commit is contained in:
parent
3e44a7fa52
commit
f00500bc8e
|
@ -1,5 +0,0 @@
|
|||
// RUN: %clang_cc1 -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}}
|
Loading…
Reference in New Issue