diff options
author | Ori Bernstein <ori@eigenstate.org> | 2020-04-25 10:43:39 -0700 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2020-04-25 10:43:39 -0700 |
commit | 2de164c51dc3330859c160b80440e1363fb5b566 (patch) | |
tree | 1b29adb88299efdcca44ede060ec5d4756f4542a /sys/src/cmd/cpp/test.c | |
parent | 5d7e9bee3ce75cce5727c0283a192b344800cc07 (diff) |
fix typos in time calculation
the results of the time calculation were garbled -- and
apparently negative on my system when testing, so the
test passed when it shouldn't have.
Diffstat (limited to 'sys/src/cmd/cpp/test.c')
-rw-r--r-- | sys/src/cmd/cpp/test.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/src/cmd/cpp/test.c b/sys/src/cmd/cpp/test.c index 451e364f4..510419050 100644 --- a/sys/src/cmd/cpp/test.c +++ b/sys/src/cmd/cpp/test.c @@ -21,6 +21,9 @@ CAT3(blah) #define FOO CAT(BAR, 3) FOO +/* Expected: a bc d */ +CAT(a b, c d) + /* * CURRENTLY BROKEN: * __VA_ARGS__ requires at least one item. @@ -58,4 +61,4 @@ g(x+(3,4)-w) | h 5) & m * It should treat no args as a single empty arg list. p() i[q()] = { q(1), r(2,3), r(4,), r(,5), r(,) }; char c[2][6] = { str(hello), str() }; -*/
\ No newline at end of file +*/ |