// RUN: %clang_cc1 -fsyntax-only -verify %s // expected-no-diagnostics extern "C" void * malloc(int); template struct A { void *malloc(int); }; template inline void *A::malloc(int) { return 0; } void f() { malloc(10); }