Clean up some minor white space issues in trans-decl.c and trans-expr.c
[official-gcc.git] / gcc / testsuite / g++.dg / torture / pr64378.C
blob6770601eaf2a256e264c9518391cbc56d302bf1e
1 // { dg-do compile }
2 // { dg-options "-fno-ipa-cp" }
3 struct data {
4   data(int) {}
5 };
7 struct top {
8   virtual int topf() {}
9 };
11 struct child1: top {
12     void childf()
13     {
14         data d(topf());
15     }
18 void test(top *t)
20     child1 *c = static_cast<child1 *>(t);
21     c->childf();
22     child1 d;
23     test(&d);