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
Merge from trunk
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
pr59113.C
blob
19bab2cedcc9c7979054769400d36890a3026d57
1
// PR c++/59113
2
// { dg-do compile }
3
// { dg-options "-std=gnu++1y" }
4
5
void foo()
6
{
7
void bar(auto) {} // { dg-error "function-definition|auto|not permitted" }
8
}
9
10
auto i = 0;