2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / cond3.C
blob1fe95fcbb6ec824e166982d7bf8b87361fabac75
1 // { dg-do assemble  }
2 // Origin: Loring Holden <lsh@cs.brown.edu>
4 class Wtransf {};
6 const Wtransf Identity2 = Wtransf ();
8 class HELPER {
9    public:
10       int  current() const  { return 0; }
13 void
14 problem_function()
16    HELPER tm;
17    Wtransf delta  = (tm.current()) ? Identity2 : Wtransf();