llvm-project/clang/test/CXX/over/over.built/p8.cpp

10 lines
181 B
C++

// RUN: %clang_cc1 -std=c++11 -verify %s -Wno-tautological-compare
template <typename T>
void f(void(*pf)(), T(*ptf)(T)) {
(void)*pf;
(void)*ptf;
}
// expected-no-diagnostics