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
/
pr108606.C
blob
71cfc679317ac23e8de0b927e2841b09236e12da
1
// PR c++/108606
2
// { dg-do compile { target c++14 } }
3
4
template <typename T>
5
void bar (T) {}
6
7
void
8
foo ()
9
{
10
bar ([&] (auto x) { class C { friend void baz (); }; });
11
}