blob: 50b2445aee07c0c8235e37f6425744d9cdded788 [file] [log] [blame]
// { dg-do compile { target c++11 } }
template<typename... Elements>
struct tuple { };
template<typename T, typename... Elements>
struct tuple<T, Elements...> {
int foo();
};
template<typename T, typename... Elements>
struct tuple<T*, Elements...> {
int bar();
};
template<typename T, typename... Elements>
int tuple<T, Elements...>::foo() { return 0; }
template<typename T, typename... Elements>
int tuple<T*, Elements...>::bar() { return 0; }