repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wunused-parm-11.C
blob
35896df93bb65548d4ec1419d6cc82f9422e1135
1
// PR c++/83806
2
// { dg-do compile { target c++11 } }
3
// { dg-options "-Wunused-but-set-parameter" }
4
5
template <class X, class Y>
6
bool equals(X x, Y y) {
7
return (x == y);
8
}
9
10
int main() {
11
const char* p = nullptr;
12
equals(p, nullptr);
13
}