rt_gccstream/gcc/testsuite/g++.old-deja/g++.mike/net3.C

17 lines
196 B
C

// { 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;
}