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
c++: robustify testcase [PR109752]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
lambda-generic-enum1.C
blob
de15443bfcff16d4a0e6e3ce36361c5db33401ff
1
// PR c++/95317
2
// { dg-do compile { target c++14 } }
3
4
template <typename> void fn1() {
5
[](auto) {
6
enum { VALUE };
7
VALUE;
8
};
9
}
10
int main() { fn1<void>; }