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