PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / opt / pr80102.C
blob8b0da230a3054871f085508ca3dffd261d4a9780
1 // PR target/80102
2 // { dg-do compile }
3 // { dg-options "-fnon-call-exceptions -Os" }
4 // { dg-additional-options "-mminimal-toc" { target { powerpc*-*-* && lp64 } } }
6 struct B { float a; B (float c) { for (int g; g < c;) ++a; } };
7 struct D { D (B); };
9 int
10 main ()
12   B (1.0);
13   D e (0.0), f (1.0);