Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/pr52742.C

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 }