aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.robertl/eb58.C
blob: 3612034bf703423bb05c88416e33ae87b0b6089f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Special g++ Options:
// Test for g++ array init extension 

class A {
public:
        A(int i) {}
private:
        A( const A & ) {}
};

main()
{
  A *list = new A[10](4);
}