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