diff options
author | Eli Bendersky <eliben@gmail.com> | 2012-12-25 14:52:48 -0800 |
---|---|---|
committer | Eli Bendersky <eliben@gmail.com> | 2012-12-25 14:52:48 -0800 |
commit | 293ea91f99a57a3f1fde187d99554ae59c492285 (patch) | |
tree | ecb5559d002166aab8378c54a1adc4dd991852aa /tests/test_c_generator.py | |
parent | 4476d099d78c0288c8aaf907f236ab94e418bd44 (diff) | |
download | pycparser-293ea91f99a57a3f1fde187d99554ae59c492285.tar.gz |
Issue #83: Distinguish initializer lists from expression lists
Diffstat (limited to 'tests/test_c_generator.py')
-rw-r--r-- | tests/test_c_generator.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_c_generator.py b/tests/test_c_generator.py index 5392603..4251535 100644 --- a/tests/test_c_generator.py +++ b/tests/test_c_generator.py @@ -130,6 +130,13 @@ class TestCtoC(unittest.TestCase): return 0; }''') + def test_issue83(self): + self._assert_ctoc_correct(r''' + void x(void) { + int i = (9, k); + } + ''') + def test_issue84(self): self._assert_ctoc_correct(r''' void x(void) { |