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
/cp
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
pr84835.C
blob
8dca3e949f20b1aecc0f697e443e1ef7696a10eb
1
// { dg-do compile { target c++14 } }
2
// PR c++/84835
3
// ICE with generic lambda inside extern "C"
4
5
extern "C"
6
{
7
auto r = [] (auto x)
8
{
9
void baz (); // extern "C"
10
baz ();
11
};
12
13
}
14
15
void g ()
16
{
17
r (0);
18
}
19
20
// { dg-final { scan-assembler "\[^0-9\]baz" } }