summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/init/ref7.C
blob: 0832069e32ce643164e4bd968d35081006926369 (plain)
1
2
3
4
5
6
7
8
9
class hop
{
public:
    hop operator* () const;
};
int main(void)
{
    const hop &x = *x;
}