summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/ttp4.C
blob: 4dff70103467ee3fae4688bbdcc1e39c8de739b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do compile }
// Origin: Ewgenij Gawrilow <gawrilow@math.tu-berlin.de>

// PR c++/6723
// ICE when default template argument contains instantiation of
// template template parameter.

template <typename A, typename B,
	  template <typename,typename> class Predicate,
	  bool _matches=Predicate<A,B>::answer>
struct helper { };