]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/pr79296.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr79296.C
1 // { dg-do compile { target c++11 } }
2 // { dg-require-effective-target lto }
3 // { dg-additional-options "-flto" }
4
5 // PR 79296 ICE mangling local class of localized instantiation
6
7 struct X {
8 template <typename T> X (T const *) {
9 struct Z {};
10 }
11 };
12
13 void Baz ()
14 {
15 struct Y { } y;
16
17 0, X (&y);
18 }
This page took 0.039575 seconds and 5 git commands to generate.