Debian Codegraph @

gcc/testsuite/g++.dg/template/pr35240.C

raw
1 // PR c++/35240
2 // { dg-do compile }
3
4 template<int> struct A {};
5
6 template<int N> A<sizeof(new int[N][N])> foo();
7
8 void bar()
9 {
10 foo<1>();
11 }