diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-04-26 08:26:00 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-04-26 08:26:00 -0700 |
commit | 10c721e022628c19f2148dc09346b73f7d32f6f5 (patch) | |
tree | 441213d47f58681c2ff6f9de84b42cc07211446d /tests | |
parent | d78652a9b95afea436ea111d4a06af98a938c0ca (diff) |
properly handle calls to varargs functions without additional args
Diffstat (limited to 'tests')
-rw-r--r-- | tests/runner.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py index 783e257b..6b76a9e2 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -1418,6 +1418,7 @@ if 'benchmark' not in sys.argv: int main() { vary("*cheez: %d+%d*", 0, 24); // Also tests that '0' is not special as an array ender + vary("*albeit*"); // Should not fail with no var args in vararg function vary2('Q', "%d*", 85); int maxxi = getMaxi(6, 2, 5, 21, 4, -10, 19); @@ -1428,7 +1429,7 @@ if 'benchmark' not in sys.argv: return 0; } ''' - self.do_test(src, '*cheez: 0+24*\n*cheez: 0+24*\nQ85*\nmaxxi:21*\nmaxxD:22.10*\n') + self.do_test(src, '*cheez: 0+24*\n*cheez: 0+24*\n*albeit*\n*albeit*\nQ85*\nmaxxi:21*\nmaxxD:22.10*\n') def test_stdlibs(self): src = ''' |