PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic108.C
blob2e396c6f5a1d1d2011642800c1911bbf70a260a1
1 // PR c++/48736
2 // { dg-do compile { target c++11 } }
4 template<class T>
5 T&& create();
7 template<class T, class... Args,
8  class = decltype(T{create<Args>()...}) // Line X
10 char f(int);