xref: /llvm-project/llvm/test/tools/llvm-strings/negative-char.test (revision f23ce128fd614d5ed7b5c70038c5db8b257c5127)
1## Show that llvm-strings can handle a negative signed char value (i.e. > 0x7f).
2## Such characters should form string delimiters like other unprintable ones.
3
4# RUN: echo -e "z\0\x80\0a\0" | llvm-strings --bytes 1 - | FileCheck %s
5# CHECK: z{{$}}
6# CHECK-NEXT: {{^}}a
7