re PR c++/29039 (implicitly defined constructor for class with reference member)
PR c++/29039 * typeck2.c (build_functional_cast): Don't zero-initialize non-PODs; instead, call their constructors. * method.c (synthesize_method): Always build mem-initializers, if we're synthesizing the default constructor. PR c++/29039 * g++.dg/init/ctor8.C: New test. From-SVN: r117834
Showing
gcc/testsuite/g++.dg/init/ctor8.C
0 → 100644
Please
register
or
sign in
to comment