blob: b89435a9904491e2ba108fad4d9f0ddec0cc2208 [file] [log] [blame]
Anders Carlssonba397fe2009-11-06 18:45:16 +00001// RUN: clang-cc -emit-llvm-only -g
2template<typename T> struct Identity {
3 typedef T Type;
4};
5
6void f(Identity<int>::Type a) {}
Anders Carlssona031b352009-11-06 19:19:55 +00007void f(Identity<int> a) {}
8void f(int& a) { }
Anders Carlsson5b6117a2009-11-14 21:08:12 +00009
10template<typename T> struct A {
11 A<T> *next;
12};
13void f(A<int>) { }