1 // { dg-do assemble } 2 3 template <class X> struct A { 4 int fooo (int x); 5 int x; yA6 inline int y () { return 3; } zA7 inline int z () { return 5; } 8 }; 9 fooo(int t)10template <class Y> int A<Y>::fooo (int t) { return (this->*(x?&A<Y>::y : &A<Y>::z))() + t; } // { dg-bogus "" } 11 12 A<int> ai; 13 frop()14int frop () { return ai.fooo (100); } 15