Dollar signs in identifiers; non-standard, but supported by many compilers
diff --git a/tests/test_c_lexer.py b/tests/test_c_lexer.py
index 2c651a3..14242b8 100644
--- a/tests/test_c_lexer.py
+++ b/tests/test_c_lexer.py
@@ -44,6 +44,7 @@
         self.assertTokensTypes('++', ['PLUSPLUS'])
         self.assertTokensTypes('case int', ['CASE', 'INT'])
         self.assertTokensTypes('caseint', ['ID'])
+        self.assertTokensTypes('$dollar cent$', ['ID', 'ID'])
         self.assertTokensTypes('i ^= 1;', ['ID', 'XOREQUAL', 'INT_CONST_DEC', 'SEMI'])
 
     def test_id_typeid(self):
@@ -353,7 +354,6 @@
 
     def test_trivial_tokens(self):
         self.assertLexerError('@', ERR_ILLEGAL_CHAR)
-        self.assertLexerError('$', ERR_ILLEGAL_CHAR)
         self.assertLexerError('`', ERR_ILLEGAL_CHAR)
         self.assertLexerError('\\', ERR_ILLEGAL_CHAR)