allow "static" in array parameters (GH issue #21)
diff --git a/tests/test_c_parser.py b/tests/test_c_parser.py
index d695b47..3522071 100644
--- a/tests/test_c_parser.py
+++ b/tests/test_c_parser.py
@@ -1153,6 +1153,21 @@
                     [['ID', 'p']],
                     ['TypeDecl', ['IdentifierType', ['int']]]]])
 
+        f5 = parse_fdef('''
+        char* zzz(int p[static 10])
+        {
+            return 3;
+        }
+        ''')
+
+        self.assertEqual(fdef_decl(f5),
+            ['Decl', 'zzz',
+                ['FuncDecl',
+                    [   ['Decl', 'p', [ 'ArrayDecl', '10',
+                                        [ 'TypeDecl', ['IdentifierType', ['int']]]]]],
+                    ['PtrDecl', ['TypeDecl', ['IdentifierType', ['char']]]]]])
+
+
     def test_unified_string_literals(self):
         # simple string, for reference
         d1 = self.get_decl_init('char* s = "hello";')