OSDN Git Service

Formatting fixes.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / new4.C
1 // { dg-do assemble  }
2 // Origin: Mark Mitchell <mark@codesourcery.com>
3
4 struct S {
5   S();
6
7   virtual int f() {
8     new S[+f()];
9     return 0;
10   }
11 };