Debian Codegraph @

gcc/testsuite/g++.dg/cpp1z/array-prvalue2.C

raw
1 // PR c++/103185
2 // { dg-do compile { target c++11 } }
3
4 using intarr = int[];
5 static_assert(__is_same(decltype(0[intarr{0}]), int&&), "");