1 // PR c++/50473 2 // { dg-do compile { target c++11 } } 3 f()4 constexpr int f() { return 1; } 5 6 template<class T> 7 struct test 8 { 9 static constexpr const auto& value = f(); 10 int a[value]; 11 }; 12 13 test<int> t; 14