1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
// { dg-do assemble } // Origin: Loring Holden <lsh@cs.brown.edu> class Wtransf {}; const Wtransf Identity2 = Wtransf (); class HELPER { public: int current() const { return 0; } }; void problem_function() { HELPER tm; Wtransf delta = (tm.current()) ? Identity2 : Wtransf(); }