diff options
Diffstat (limited to 'clang/test/Lexer/dollar-idents.c')
-rw-r--r-- | clang/test/Lexer/dollar-idents.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/Lexer/dollar-idents.c b/clang/test/Lexer/dollar-idents.c new file mode 100644 index 0000000..cbf25b0 --- /dev/null +++ b/clang/test/Lexer/dollar-idents.c @@ -0,0 +1,7 @@ +// RUN: %clang_cc1 -dump-tokens %s 2> %t +// RUN: grep "identifier '\$A'" %t +// RUN: %clang_cc1 -dump-tokens -x assembler-with-cpp %s 2> %t +// RUN: grep "identifier 'A'" %t +// PR3808 + +$A |