aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/ptrmem26.C
blob: ba3eab10f2f1e0abb8b06f1f60f9a0c1b269d62f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR c++/46552

struct S
{
    int x;
};

template < typename >
void f( void )
{
    &S::x;
}