Home | History | Annotate | Download | only in SemaCXX
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 
      3 class C {
      4   C(void*);
      5 };
      6 
      7 int f(const C&);
      8 int f(unsigned long);
      9 
     10 template<typename T> int f(const T* t) {
     11   return f(reinterpret_cast<unsigned long>(t));
     12 }
     13 
     14