repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
init
/
new15.C
blob
17cf8a80b6852037c3137ad1b33362e0df65abc1
1
// PR c++/9782
2
3
extern "C" void printf(char *, ...);
4
5
template <int>
6
struct A {
7
A() {printf("A::A()\n");}
8
};
9
10
11
struct B {
12
B() {printf("B::B()\n");}
13
};
14
15
16
int main () {
17
new A<0>[1][1];
18
new B [1][1];
19
}