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 c++/56973, DR 696 - capture constant variables only as needed.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
pr60393.C
blob
27fe2b722960f7ab424b541e948778f74ac4d1e4
1
// PR c++/60393
2
// { dg-do compile { target c++14 } }
3
// { dg-options "" }
4
5
void (*f)(auto) + 0; // { dg-error "expected" }
6
7
struct A
8
{
9
int i;
10
};