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
* ru.po: Update.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
using26.C
blob
857c13481815cb61baad63b3add4104443d5e96d
1
// PR c++/26256
2
// { dg-do compile }
3
4
struct A
5
{
6
double next;
7
};
8
9
struct B
10
{
11
private:
12
int next; // { dg-message "private" }
13
};
14
15
struct C
16
{
17
int next;
18
};
19
20
struct D : A, B, C // { dg-error "context" }
21
{
22
using B::next;
23
void f()
24
{
25
next = 12;
26
}
27
};