blob: 35896df93bb65548d4ec1419d6cc82f9422e1135 [file] [log] [blame]
// PR c++/83806
// { dg-do compile { target c++11 } }
// { dg-options "-Wunused-but-set-parameter" }
template <class X, class Y>
bool equals(X x, Y y) {
return (x == y);
}
int main() {
const char* p = nullptr;
equals(p, nullptr);
}