☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr52742.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/pr52742.C
code
plain
raw
1
// PR c++/52742
2
// { dg-do compile { target c++11 } }
3
4
void foo() {
5
new int[1] {1};
6
}
7
8
template<int A>
9
void goo() {
10
new int[1] {1};
11
}
12
13
int main() {
14
foo();
15
goo<1>();
16
}