blob: fcdfc87c819bccad79b4505bcc17f8c3a2ac5a32 [file] [log] [blame]
// Issue #2085.
template<typename T>
struct Foo;
template<typename T, typename U>
struct Bar {};
template<typename T>
struct Bar<T, void> {
using BarDependent = typename Foo<T>::Dependent;
void method(const BarDependent &);
};
template<typename T>
void Bar<T, void>::method(const BarDependent &) {}