summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/mangle3.C
blob: 4b3e5812ccbac8dccfba9a4d89f90cd2c0e9f8cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// { dg-do run  }
struct ZZ {
  int p;
};


template <int ZZ::* ptr>
struct YY {
  ZZ qq;
  YY() { }
};

int main() {
  YY<&ZZ::p> ww;
}