8sa1-gcc/gcc/testsuite/g++.old-deja/g++.mike/p783.C
Jason Merrill 4495766362 fix implicit int
From-SVN: r23760
1998-11-22 18:23:45 -05:00

16 lines
181 B
C

// prms-id: 783
extern "C" void printf (char *, ...);
class C {
public:
C() { }
~C() { }
};
int main(int argc, char**argv) {
C c,d;
c = (argc&1) ? C() : d;
return 0;
}