Sign in
llvm
/
llvm-archive
/
3698204cb8af2c80b326ae84c9a9e6a4bccbdedc
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
g++.dg
/
parse
/
access9.C
blob: 2c29016b0479df28786aff3ca5d76990a64bb095 [
file
] [
log
] [
blame
]
// PR c++/24782
class
Foo
{
public
:
typedef
int
type1
;
};
class
Bar
{
private
:
typedef
Foo
type2
;
};
// { dg-error "private" }
void
g
(
Bar
::
type2
::
type1
)
{}
// { dg-error "context" }