Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
debug
/
using4.C
blob: 8a6162606c4a4aa60c1c36633663eef5c4598233 [
file
] [
log
] [
blame
]
// PR c++/26256
// { dg-do compile }
struct
A
{
typedef
char
type
;
};
struct
B
{
typedef
int
type
;
};
struct
C
:
A
,
B
{
using
A
::
type
;
type f
(
type
);
};
C
::
type C
::
f
(
type
)
{
type c
=
'e'
;
return
c
;
}