repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.robertl
/
eb63.C
blob
a1601f80f9f07a76886593c71449864b580bde61
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
}