llvm-for-llvmta/test/tools/llvm-strings/negative-char.test

7 lines
269 B
Plaintext
Raw Normal View History

2022-04-25 10:02:23 +02:00
## Show that llvm-strings can handle a negative signed char value (i.e. > 0x7f).
## Such characters should form string delimiters like other unprintable ones.
# RUN: echo -e "z\0\x80\0a\0" | llvm-strings --bytes 1 - | FileCheck %s
# CHECK: z{{$}}
# CHECK-NEXT: {{^}}a