// PR c++/63283 // { dg-do compile { target c++11 } } constexpr int array_length(int (&array)[3]) { return 3; } int a[] = { 1, 2, 3 }; template int f() { struct { int e[array_length(a)]; } t; return sizeof(t); } int main() { f(); }