blob: 421a06e5ec9f5405ea9874665cbb506166f96a8a [file] [log] [blame]
// { dg-do compile { target c++11 } }
template<class T>
T&& create();
template <class T, class U,
class = decltype(create<T>() = create<U>())
>
char test(int);
template <class, class>
double test(...);
int main() {
test<int[], int[]>(0); // #1
}