net3.C   [plain text]


// { dg-do assemble  }
// Here is another program from the net.

class BOOL {
 public:
  int val;
  
  BOOL(int i =0);
  operator int();
};

BOOL& foo()
{
  static BOOL status;
  return status;
}