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