gcc.info: Dollar Signs

Go forward to Character Escapes
Go backward to C++ Comments
Go up to C Extensions
Go to the top op gcc

Dollar Signs in Identifier Names

   In GNU C, you may normally use dollar signs in identifier names.
This is because many traditional C implementations allow such
identifiers.  However, dollar signs in identifiers are not supported on
a few target machines, typically because the target assembler does not
allow them.