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
c++: bogus -Wvexing-parse with trailing-return-type [PR118718]
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wvexing-parse10.C
blob
3fbe88b7d00b284b0fcf3c965bd123517b53ac04
1
// PR c++/118718
2
// { dg-do compile { target c++14 } }
3
4
void
5
fn ()
6
{
7
auto f1 () -> auto;
8
auto f2 (); // { dg-warning "empty parentheses" }
9
}