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
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
pr84789-3.C
blob
bc38c1544ba9fafb6f1c1322f0fcd249391f808c
1
// { dg-do compile }
2
3
struct A
4
{
5
static int i;
6
};
7
struct B
8
{
9
typedef ::A A;
10
};
11
int B::A::i = 0;
12
13
struct K
14
{
15
struct L
16
{
17
template <typename T>
18
static void f(T);
19
};
20
};
21
22
template <typename T>
23
struct O
24
{
25
typedef K Q;
26
};
27
28
template <typename T>
29
void O<T>::Q::L::f(T)
30
{
31
}