mirror of
https://github.com/opnsense/src.git
synced 2026-02-27 20:01:13 -05:00
13 lines
203 B
C++
13 lines
203 B
C++
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
|
|
|
class C {
|
|
C(void*);
|
|
};
|
|
|
|
int f(const C&);
|
|
int f(unsigned long);
|
|
|
|
template<typename T> int f(const T* t) {
|
|
return f(reinterpret_cast<unsigned long>(t));
|
|
}
|
|
|