(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
sfinae25.C
// PR c++/49105
// { dg-do compile { target c++11 } }

template<class T, class = decltype(T{})>
char f(int);

template<class T>
auto f(...) -> char(&)[2];

static_assert(sizeof(f<const int&&>(0)) == 1, "Error"); // #