Sign in
gnu
/
gcc.git
/
ab7c7b46c35ed1be68d4c020a2f20ee96f68b64b
/
.
/
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" }