summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/init/pm3.C
blob: 980790db34679d5c6d534092a14ccea3838375b2 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/12218
// { dg-do run }

struct C { int i, j; };
typedef int C::*mPtr;
extern const mPtr should_be_0 = &C::i;
extern const mPtr should_be_4 = &C::j;

int main () {
}