summaryrefslogtreecommitdiff
path: root/tests/test_c_lexer.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_c_lexer.py')
-rw-r--r--tests/test_c_lexer.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_c_lexer.py b/tests/test_c_lexer.py
index e446434..1d3c39b 100644
--- a/tests/test_c_lexer.py
+++ b/tests/test_c_lexer.py
@@ -94,6 +94,7 @@ class TestCLexerNoErrors(unittest.TestCase):
def test_new_keywords(self):
self.assertTokensTypes('_Bool', ['_BOOL'])
self.assertTokensTypes('_Atomic', ['_ATOMIC'])
+ self.assertTokensTypes('_Alignas _Alignof', ['_ALIGNAS', '_ALIGNOF'])
def test_floating_constants(self):
self.assertTokensTypes('1.5f', ['FLOAT_CONST'])