// RUN: %clang_cc1 -fsyntax-only -verify %s // expected-no-diagnostics template struct A { }; template > struct B : U { }; template<> struct A { void foo(); }; template<> struct A { void bar(); }; void test(B *b1, B *b2) { b1->foo(); b2->bar(); }