Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
using26.C
blob: dd4e13039d74a42cefed687247494a38732d10a2 [
file
] [
log
] [
blame
]
// PR c++/26256
// { dg-do compile }
struct
A
{
double
next
;
};
struct
B
{
private
:
int
next
;
// { dg-message "private" }
};
struct
C
{
int
next
;
};
struct
D
:
A
,
B
,
C
{
using
B
::
next
;
// { dg-error "context" }
void
f
()
{
next
=
12
;
}
};