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
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
lambda-generic-dep2.C
blob
91e3804cb0bf2ffc19d9f959565d8c80c2bfab86
1
// { dg-do compile { target c++14 } }
2
3
struct A { void operator()(int) const {} };
4
5
template <class T>
6
void f()
7
{
8
constexpr A a {};
9
10
[=](auto b) {
11
a(b);
12
}(42);
13
}
14
15
int main()
16
{
17
f<int>();
18
}