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