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-auto1.C
blob
b9e98c551c02b6316ce491baa648db90a155d1c3
1
// Related to c++/81525
2
// { dg-do compile { target c++14 } }
3
4
template <class X>
5
struct A
6
{
7
template <class T>
8
static void f()
9
{
10
[](auto b) {
11
auto c = +b;
12
}(42);
13
}
14
};
15
16
int main()
17
{
18
A<int>::f<int>();
19
}