]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/constexpr-defarg.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-defarg.C
1 // PR c++/46335
2 // { dg-do compile { target c++11 } }
3
4 struct T { };
5 struct A {
6 A(const T &tr =T()) {}
7 };
8 struct B {
9 A k;
10 };
11 B kk_;
12 A fk_;
This page took 0.035031 seconds and 5 git commands to generate.