mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
11 lines
214 B
C++
11 lines
214 B
C++
|
|
// This should be error-free
|
|
|
|
template<typename> struct S {
|
|
~S();
|
|
static void operator delete(void*, int);
|
|
};
|
|
template<typename T> S<T>::~S() {}
|
|
template<typename T> void S<T>::operator delete(void*, int) {}
|
|
|