]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/g++.dg/cpp0x/fntmpdefarg6.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / fntmpdefarg6.C
CommitLineData
a7dd5069
JM
1// { dg-do compile { target c++11 } }
2
3template <class T>
4struct A {
5 template <int I = 42, int J = (T)42> int f() { return I; }
6 template <int I = 42> int g() { return f(); }
7};
This page took 2.592468 seconds and 5 git commands to generate.