bolt/deps/llvm-18.1.8/llvm/test/tools/llvm-strings/negative-char.test
2025-02-14 19:21:04 +01:00

6 lines
269 B
Text

## 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