2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.robertl / eb63.C
bloba1601f80f9f07a76886593c71449864b580bde61
1 // { dg-do run  }
2 // { dg-options "" }
3 //This uses GNU extensions, so disable -ansi
4 #include <stdio.h>
5 #include <stdlib.h>
7 class A {
8 public:
9         A(bool b) { abort(); }
10         A(int a, bool b) { printf("cool\n"); }
13 main() {
14         A* a;
16         a = new A[2](1,false);