summaryrefslogtreecommitdiff
path: root/tests/test_c_generator.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_c_generator.py')
-rw-r--r--tests/test_c_generator.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_c_generator.py b/tests/test_c_generator.py
index 4563523..15a3831 100644
--- a/tests/test_c_generator.py
+++ b/tests/test_c_generator.py
@@ -91,6 +91,8 @@ class TestCtoC(unittest.TestCase):
self._assert_ctoc_correct('int** (*a)(void);')
self._assert_ctoc_correct('int** (*a)(void*, int);')
self._assert_ctoc_correct('int (*b)(char * restrict k, float);')
+ self._assert_ctoc_correct('int (*b)(char * _Atomic k, float);')
+ self._assert_ctoc_correct('int (*b)(char * _Atomic volatile k, float);')
self._assert_ctoc_correct('int test(const char* const* arg);')
self._assert_ctoc_correct('int test(const char** const arg);')