]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/g++.dg/cpp0x/pr71225.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr71225.C
CommitLineData
b8f70e67
JJ
1// PR c++/71225
2// { dg-do compile { target c++11 } }
3
4template <bool, class> struct A;
5template <class T> struct B;
6template <typename T>
7struct C
8{
9 struct D
10 {
11 template <int N = 42, typename A<N == 43 || B<T>(), int>::type = 0>
12 void foo () const {}
13 template <int N = 42, typename A<N == 43 || !B<T> (), int>::type = 0>
14 void foo () const {}
15 void bar () { foo (); }
16 };
17};
This page took 2.590538 seconds and 5 git commands to generate.