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