Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/pr92339.C @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
line wrap: on
line source
/* PR c++/92339 */ /* { dg-options "-std=c++11" } */ class classA { template <typename typeB, typeB classA::*> struct typeC { typeC (classA *); }; int m_fn1(); unsigned long fieldD; using typeE = typeC<unsigned long, &classA::fieldD>; }; int classA::m_fn1 () { typeE (this); return 0; }