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
/
using24.C
blob
4413be1f0322c0c4588ecd90915ceb86fa239bba
1
// PR c++/26256
2
// { dg-do compile }
3
4
struct A { int next; };
5
struct B { int next; };
6
struct C : B { using B::next; };
7
8
struct D : A, C
9
{
10
using C::next;
11
void f() { next = 1; }
12
};