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
re PR c++/84691 (internal compiler error: in poplevel_class, at cp/name-lookup.c...
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
using48.C
blob
e6dc3fab77ce5b1300ad8655cae26d9d73c6ee60
1
// PR c++/51190
2
// { dg-do compile }
3
4
struct A
5
{
6
int i;
7
};
8
9
template<typename> struct B
10
{
11
A* p;
12
};
13
14
template<typename T> struct C : B<T>
15
{
16
using B<T>::p;
17
18
C() { p->i; }
19
20
int i1, i2, i3, i4, i5;
21
};
22
23
C<A> c;