llvm/llvm/test/tools/llvm-rc/Inputs/tag-escape.rc

STRINGTABLE {
  0 "Hello!"
  1 "\a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z"
  2 "\A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z"
  3 "\x\x1\x12\x123\x1234\x12345\X\X1\X12\X123\X1234\X12345\x1g"
  4 "\0\01\010\0100\01000\010000\0100000\01000000"
  5 "\1\11\111\1111\11111\111111\1111111\11111111"
  6 """\""\""\\\\\\"
  7 "a\0b\0\0c\0\0\0d\0"
  8 "a\0b\0"

  20 L"Hello!"
  21 L"\a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z"
  22 L"\A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z"
  23 L"\x\x1\x12\x123\x1234\x12345\X\X1\X12\X123\X1234\X12345\x1g"
  24 L"\0\01\010\0100\01000\010000\0100000\01000000"
  25 L"\1\11\111\1111\11111\111111\1111111\11111111"
  26 L"""\""\""\\\\\\"
  27 L"a\0b\0\0c\0\0\0d\0"
  28 L"a\0b\0"
}

1 MENU {
  MENUITEM "Hello!", 0
  MENUITEM "\a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z", 1
  MENUITEM "\A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z", 2
  MENUITEM "\x\x1\x12\x123\x1234\x12345\X\X1\X12\X123\X1234\X12345\x1g", 3
  MENUITEM "\0\01\010\0100\01000\010000\0100000\01000000", 4
  MENUITEM "\1\11\111\1111\11111\111111\1111111\11111111", 5
  MENUITEM """\""\""\\\\\\", 6
  MENUITEM "a\0b\0\0c\0\0\0d\0", 7
  MENUITEM "a\0b\0", 8
}

2 MENU {
  MENUITEM L"Hello!", 0
  MENUITEM L"\a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z", 1
  MENUITEM L"\A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z", 2
  MENUITEM L"\x\x1\x12\x123\x1234\x12345\X\X1\X12\X123\X1234\X12345\x1g", 3
  MENUITEM L"\0\01\010\0100\01000\010000\0100000\01000000", 4
  MENUITEM L"\1\11\111\1111\11111\111111\1111111\11111111", 5
  MENUITEM L"""\""\""\\\\\\", 6
  MENUITEM L"a\0b\0\0c\0\0\0d\0", 7
  MENUITEM L"a\0b\0", 8
}

500 USERDEFINED {
  "Hello!",
  "\a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z",
  "\A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z",
  "\x\x1\x12\x123\x1234\x12345\X\X1\X12\X123\X1234\X12345\x1g",
  "\0\01\010\0100\01000\010000\0100000\01000000",
  "\1\11\111\1111\11111\111111\1111111\11111111",
  """\""\""\\\\\\",
  "a\0b\0\0c\0\0\0d\0",
  "a\0b\0"
}

501 USERDEFINED {
  L"Hello!",
  L"\a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z",
  L"\A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z",
  L"\x\x1\x12\x123\x1234\x12345\X\X1\X12\X123\X1234\X12345\x1g",
  L"\0\01\010\0100\01000\010000\0100000\01000000",
  L"\1\11\111\1111\11111\111111\1111111\11111111",
  L"""\""\""\\\\\\",
  L"a\0b\0\0c\0\0\0d\0",
  L"a\0b\0"
}