commit | 8348a9d2df7cd91f157578f9d503fd3c45977aa4 | [log] [tgz] |
---|---|---|
author | eli.bendersky <devnull@localhost> | Thu May 26 07:01:43 2011 +0300 |
committer | eli.bendersky <devnull@localhost> | Thu May 26 07:01:43 2011 +0300 |
tree | 90ada357d29aac25e85b2c6606792c1d88fd3b60 | |
parent | cad1cfde6f60288f427114be2800a5afa3ec2a62 [diff] [blame] |
Issue 37: c-to-c: sizeof arg parenthesizing
diff --git a/examples/tests/test_c-to-c.py b/examples/tests/test_c-to-c.py index eae0cce..83cc099 100644 --- a/examples/tests/test_c-to-c.py +++ b/examples/tests/test_c-to-c.py
@@ -78,6 +78,15 @@ int main() { }''') + def test_issue37(self): + self._assert_ctoc_correct(r''' + int main(void) + { + unsigned size; + size = sizeof(size); + return 0; + }''') + if __name__ == "__main__":