]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/pr52742.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr52742.C
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 }
This page took 0.037696 seconds and 5 git commands to generate.