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
tree-optimization/116481 - avoid building function_type[]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
lambda-generic-ice9.C
blob
a07acfff8847fdcc22fc7088d0c0cacab480b34a
1
// PR c++/84802
2
// { dg-do compile { target c++14 } }
3
4
template <class T> struct A { };
5
6
void f (A<int>& ar)
7
{
8
[](const auto& x)
9
{ return [x]{}(); }
10
(ar);
11
}