// RUN: %clang_cc1 -emit-llvm-only -g template struct Identity { typedef T Type; }; void f(Identity::Type a) {} void f(Identity a) {} void f(int& a) { } template struct A { A *next; }; void f(A) { } struct B { }; void f() { int B::*a = 0; void (B::*b)() = 0; }