blob: badea1c98b73d32badd26352adeb74ce5c26537b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// PR c++/22618
class foo
{
typedef int memfun; // { dg-error "private" }
};
template<foo::memfun> // { dg-error "context" }
struct fm_obj { };
template <typename T = foo::memfun> // { dg-error "context" }
struct S {};
|