Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
access9.C
blob: 4d41e50f9edc7cef806d685d6297e79b42d4738b [
file
] [
log
] [
blame
]
// PR c++/24782
class
Foo
{
public
:
typedef
int
type1
;
};
class
Bar
{
private
:
typedef
Foo
type2
;
};
// { dg-message "private" }
void
g
(
Bar
::
type2
::
type1
)
{}
// { dg-error "context" }