repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR middle-end/77674
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wunused-parm-8.C
blob
867ad6a2904cd5c95ee7effb91d70614c73781e0
1
// { dg-do compile { target c++14 } }
2
// { dg-options "-Wunused-but-set-parameter" }
3
4
auto l = [](auto t) -> decltype(true ? t : 0) { return {}; };
5
6
int main()
7
{
8
l(42);
9
}