// PR c++/60708 // { dg-do compile { target c++11 } } template struct mypair { mypair(T, U) {} }; template struct S { mypair get_pair() noexcept { return mypair(nullptr, 0); } }; static void foo(const mypair (&a)[2]) noexcept { } int main() { S s; foo({s.get_pair(), s.get_pair()}); }