blob: 4bf014b54da9bd0d37a604a83d003f60241378f5 [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() { return 0; }
template<typename T>
int array<T, 0>::bar() { return 0; }