summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/regress/regress2.C
blob: 470ee1c4c8095e0d3d8bb97dac4db3a2cbd8318f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// PR c++/46552
// { dg-options -std=c++0x }

struct S
{
    int x;
};

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