Debian Codegraph @

gcc/testsuite/g++.dg/pr92339.C

raw
1 /* PR c++/92339 */
2 /* { dg-options "-std=c++11" } */
3
4 class classA
5 {
6 template <typename typeB, typeB classA::*> struct typeC
7 {
8 typeC (classA *);
9 };
10 int m_fn1();
11 unsigned long fieldD;
12 using typeE = typeC<unsigned long, &classA::fieldD>;
13 };
14 int
15 classA::m_fn1 ()
16 {
17 typeE (this);
18 return 0;
19 }