1 // { dg-do compile { target c++11 } } 2 3 struct empty1 { }; foo1()4 constexpr empty1 foo1() { return {}; } 5 6 struct empty2 { }; foo2(empty1)7 constexpr empty2 foo2(empty1) { return {}; } 8 9 constexpr empty2 a = foo2(foo1()); 10