| | 1 | #line 1 "define.c" |
| | 2 | |
| | 3 | (recurs((recurs(5) + 1)) + 1); |
| | 4 | |
| | 5 | |
| | 6 | |
| | 7 | |
| | 8 | define.c(7): error: too many arguments for macro "lose1" |
| | 9 | (1 + (a)); |
| | 10 | |
| | 11 | |
| | 12 | |
| | 13 | lose(((a,b))); |
| | 14 | |
| | 15 | |
| | 16 | |
| | 17 | |
| | 18 | "987" |
| | 19 | |
| | 20 | |
| | 21 | |
| | 22 | "foo" |
| | 23 | |
| | 24 | |
| | 25 | |
| | 26 | |
| | 27 | (4 + (2 * x)); |
| | 28 | (2 * (4 + y)); |
| | 29 | |
| | 30 | |
| | 31 | |
| | 32 | |
| | 33 | #pragma message("yes") |
| | 34 | |
| | 35 | |
| | 36 | |
| | 37 | |
| | 38 | |
| | 39 | define.c(37): error: missing ')' in argument list for macro "PASTE" |
| | 40 | |
| | 41 | 2) > 10 |
| | 42 | #pragma message("yes") |
| | 43 | |
| | 44 | |
| | 45 | |
| | 46 | |
| | 47 | This is a test. End of the test. |
| | 48 | This is another test. |
| | 49 | |
| | 50 | ({a, b, c})([d, e, f]); |
| | 51 | |
| | 52 | |
| | 53 | Another multiline macro test: 100200 + 300 |
| | 54 | #line 55 "define.c" |
| | 55 | ; that is all!!!; |
| | 56 | |
| | 57 | Test of a multiline macro: 100200 |
| | 58 | ; end of multi-line macro! |
| | 59 | |
| | 60 | |
| | 61 | aaa xxx#ifdef FOO bbb #else ccc #endif |
| | 62 | #line 68 "define.c" |
| | 63 | ; |
| | 64 | |
| | 65 | 100 ## 200 |
| | 66 | |
| | 67 | |
| | 68 | |
| | 69 | 100 |
| | 70 | |
| | 71 | |
| | 72 | |
| | 73 | |
| | 74 | 100; |
| | 75 | |
| | 76 | |
| | 77 | |
| | 78 | |
| | 79 | |
| | 80 | 5*2 |
| | 81 | |
| | 82 | FOO1; |
| | 83 | XY |
| | 84 | #line 90 "define.c" |
| | 85 | ; |
| | 86 | PASTE |
| | 87 | #line 94 "define.c" |
| | 88 | X, (2 * (4 + y)); |
| | 89 | |
| | 90 | |
| | 91 | RECURSIVE(100); |
| | 92 | |
| | 93 | "Try a macro that ends without closing its argument list...": |
| | 94 | define.c(100): error: missing ')' in argument list for macro "PASTE" |
| | 95 | |
| | 96 | hash table: total 30, longest 1, average 0 |
| | 97 | number of buckets over average length: 30 |
| | 98 | number of empty buckets: 482 |
| | 99 | |
| | 100 | (T3VM) Memory blocks still in use: |
| | 101 | |
| | 102 | Total blocks in use: 0 |