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
SH: Fix cost estimation of mem load/store
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
init
/
new15.C
blob
1f57f07dfc3097aff4635d63a6dfbe1f85b04ea3
1
// PR c++/9782
2
3
extern "C" int printf(const 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
}