Add test for "const volatile int*" parsing
diff --git a/tests/test_c_parser.py b/tests/test_c_parser.py
index 9dfb132..fd85c0d 100755
--- a/tests/test_c_parser.py
+++ b/tests/test_c_parser.py
@@ -393,6 +393,14 @@
                             ['TypeDecl', ['IdentifierType', ['int']]]]],
                         ['TypeDecl', ['IdentifierType', ['int']]]]]])
 
+        self.assertEqual(self.get_decl('int (*k)(const volatile int* q);'),
+            ['Decl', 'k',
+                ['PtrDecl',
+                    ['FuncDecl',
+                        [['Decl', ['const', 'volatile'], 'q',
+                            ['PtrDecl', ['TypeDecl', ['IdentifierType', ['int']]]]]],
+                        ['TypeDecl', ['IdentifierType', ['int']]]]]])
+
         # restrict qualifier
         self.assertEqual(self.get_decl('int (*k)(restrict int* q);'),
             ['Decl', 'k',