2 // GROUPS passed operators
3 // Check that operators may be (directly) recursive.
5 extern "C" int printf (const char *, ...);
13 base operator+ (const base& left, const base& right)
17 ret_val.i = left.i + right.i;
21 base operator- (const base& left, int right)
25 ret_val.i = left.i - right;
29 // Define the unary ! operator for class base to be the fibonachi
32 base operator! (const base& right)
37 return ((!(right-1)) + (!(right-2)));
48 { printf ("FAIL\n"); return 1; }