// RUN: %clang_cc1 -fsyntax-only -verify %s // expected-no-diagnostics template struct A { int B; int f(); }; template int A::f() { return B; }