PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / opt / pr69141.C
blob34b211c969aba0e2c97b6995a3a85a247bd039b4
1 // PR tree-optimization/69141
2 // { dg-do compile }
3 // { dg-options "-O2 -fdump-tree-fre" }
5 struct B
7   B *b;
8   B ();
9   virtual void f () = 0;
12 B::B () : b (this)
14   b->f ();