commit | 1bd6c17d15eb2e4942589b5beeaadaca096c9027 | [log] [tgz] |
---|---|---|
author | eli.bendersky <devnull@localhost> | Sat Jul 16 06:43:20 2011 +0300 |
committer | eli.bendersky <devnull@localhost> | Sat Jul 16 06:43:20 2011 +0300 |
tree | 4b542f3ea6707908751a8bac71536f2ba810b19a | |
parent | 51da62f5c07e6a6e6a4bae42f282b9cdeb7c9048 [diff] |
1. remove redundant code 2. fix spacing issue in empty type declarations
diff --git a/examples/tests/test_c-to-c.py b/examples/tests/test_c-to-c.py index f9f9aa3..cba62f5 100644 --- a/examples/tests/test_c-to-c.py +++ b/examples/tests/test_c-to-c.py
@@ -84,6 +84,14 @@ return a; }''') + def test_struct_decl(self): + self._assert_ctoc_correct(r''' + typedef struct node_t { + struct node_t* next; + int data; + } node; + ''') + def test_issue36(self): self._assert_ctoc_correct(r''' int main() {