blob: 8c60685bf70c114406cc8bb3085bf387aaf48b23 [file] [log] [blame]
James Hendersonf23ce122019-08-12 11:36:11 +00001## 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
James Henderson5b2e9682018-10-24 13:16:16 +00004# RUN: echo -e "z\0\x80\0a\0" | llvm-strings --bytes 1 - | FileCheck %s
5# CHECK: z{{$}}
Jordan Rupprechtdcf1f8e2018-11-09 18:03:21 +00006# CHECK-NEXT: {{^}}a