summaryrefslogtreecommitdiff
path: root/test/Lexer/asm-preproc-no-unicode.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/Lexer/asm-preproc-no-unicode.s')
-rw-r--r--test/Lexer/asm-preproc-no-unicode.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Lexer/asm-preproc-no-unicode.s b/test/Lexer/asm-preproc-no-unicode.s
new file mode 100644
index 0000000000000..d194a52fec3e8
--- /dev/null
+++ b/test/Lexer/asm-preproc-no-unicode.s
@@ -0,0 +1,8 @@
+// RUN: %clang -E -xassembler-with-cpp %s -o - 2>&1 | FileCheck %s
+
+// CHECK-NOT: warning: \u used with no following hex digits
+// CHECK: .word \u
+
+ .macro foo, u
+ .word \u
+ .endm