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++/67273
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
hidden-class14.C
blob
99bd6731b1b00db0661c918e6111b6787e42ec59
1
// Contributed by Dodji Seketeli <dodji@redhat.com>
2
// Origin PR c++/36019
3
// { dg-do compile }
4
5
struct F {
6
static const int x = 0;
7
typedef int A;
8
};
9
10
struct A {
11
template <typename A>
12
struct G : public F
13
{
14
static const A i = 0;
15
};
16
};
17
18
int
19
main ()
20
{
21
return A::G<F>::i ;
22
}
23