Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
access8.C
blob: 42472def17c20a4f4d6278674f46d5276718870b [
file
] [
log
] [
blame
]
// PR c++/22618
class
foo
{
typedef
int
memfun
;
// { dg-message "private" }
};
template
<
foo
::
memfun
>
// { dg-error "context" }
struct
fm_obj
{
};
template
<
typename
T
=
foo
::
memfun
>
// { dg-error "context" }
struct
S
{};