blob: a3d2bf1c5df690143ebc00701cdc0a7a73de159f [file] [log] [blame]
// { dg-do compile { target c++11 } }
template<typename T, int... Dims>
struct array {
int foo();
};
template<typename T>
struct array<T, 0> {
int bar();
};
template<typename T, int... Dims>
int array<T, Dims...>::foo() { }
template<typename T>
int array<T, 0>::bar() { }