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 lto/84212 - -Wno-* does not disable warnings from -flto link stage
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wunused-var-24.C
blob
924b2dbc68e561291d78b3c9d5915b2cdb455815
1
// PR c++/66543
2
// { dg-do compile { target c++14 } }
3
// { dg-options "-Wunused-but-set-variable" }
4
5
int main() {
6
auto f = []() { };
7
[=](auto) {
8
using Foo = decltype(f());
9
};
10
}