aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/pmf6.C
blob: 08e425b79314e0b4965aaa07850a226e37e18b63 (plain)
1
2
3
4
5
6
7
8
9
10
11
// PRMS Id: 5656
// Bug: g++ tries (which is a bug) and fails (which is a bug) to initialize
// var at runtime.
// Build don't link:

struct A
{
    int func(int);
    int func() const;
};
int (A::* var) () const = & A::func;