Created attachment 13495 [details] test case Fuzzing discovered that the attached test case, when given as input to clang -fno-crash-diagnostics -std=c++11 -xc++ -c -emit-llvm causes this assertion failure: clang-3.6: tools/clang/lib/AST/Decl.cpp:1338: static clang::LinkageInfo clang::LinkageComputer::getLVForDecl(const clang::NamedDecl *, LVComputationKind): Assertion `!Old || Old->getCachedLinkage() == D->getCachedLinkage()' failed.
sensible testcase: void tpl_mem() { class A { void f(); }; void A::f(); void f(); }