diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-10-17 15:23:40 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-10-17 15:23:40 -0700 |
commit | 5949701f7d6ca2bd5e297e84dd87293fea71dcfd (patch) | |
tree | 0d27d9e6997d2ffd6c5c08126eafaa8030e33ebc | |
parent | e91161817c388eb4d759cbf9730f11df9a949f45 (diff) |
test for iostream hello world
-rw-r--r-- | tests/runner.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index 0456ce9d..414ba982 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -2979,6 +2979,19 @@ if 'benchmark' not in str(sys.argv): self.do_run(src, expected) CORRECT_SIGNS = 0 + def test_iostream(self): + src = ''' + #include <iostream> + + int main() + { + std::cout << "hello world"; + return 0; + } + ''' + + self.do_run(src, 'hello world') + ### 'Big' tests def test_fannkuch(self): |