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
/
pr86706.C
blob
86af18a99747aa980020464e1bd79f668a1fa62f
1
// PR c++/86706
2
// { dg-do compile }
3
4
class A { int b; };
5
6
template <class, typename>
7
class C : A { C (); static C *f; };
8
9
template <class T, typename U>
10
C<T, U> *C<T, U>::f;
11
12
template <class T, typename U>
13
C<T, U>::C ()
14
{
15
f->b;
16
}