Debian Codegraph @

gcc/testsuite/g++.dg/DRs/dr2392.C

raw
1 // DR 2392
2 // { dg-do compile { target c++11 } }
3
4 template <class T = void>
5 constexpr int
6 foo ()
7 {
8 T t;
9 return 1;
10 }
11
12 using V = decltype (new int[foo ()]);