aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-04-09 15:44:36 +0000
committerNick Clifton <nickc@redhat.com>2002-04-09 15:44:36 +0000
commit4d0b1625bf03f05543445bd7d1aa581174f91a2c (patch)
tree7a070a051a3fe884d1f104f246d23e4e578bdda0 /binutils/testsuite
parent4c30641a0f5551dff885ff61a7b7368a81a77421 (diff)
downloadfsf-binutils-gdb-4d0b1625bf03f05543445bd7d1aa581174f91a2c.zip
fsf-binutils-gdb-4d0b1625bf03f05543445bd7d1aa581174f91a2c.tar.gz
fsf-binutils-gdb-4d0b1625bf03f05543445bd7d1aa581174f91a2c.tar.bz2
"\a" escape (used for right justified key definitions in menus) is encodes as
binary 8.
Diffstat (limited to 'binutils/testsuite')
-rw-r--r--binutils/testsuite/ChangeLog4
-rw-r--r--binutils/testsuite/binutils-all/windres/escapea.rc7
-rw-r--r--binutils/testsuite/binutils-all/windres/escapea.rsd7
3 files changed, 18 insertions, 0 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index 9c84fd7..9129b6e 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2002-04-09 Nick Clifton <nickc@cambridge.redhat.com>
+ * binutils-all/windres/escapea.rc: New test case for encoding \a
+ escape sequence.
+ * binutils-all/windres/escapea.rsd: Expected output.
+
* binutils-all/windres/escapex.rc: New test case for hex constants
in strings.
* binutils-all/windres/escapex.rsd: Expected output
diff --git a/binutils/testsuite/binutils-all/windres/escapea.rc b/binutils/testsuite/binutils-all/windres/escapea.rc
new file mode 100644
index 0000000..0e3e967
--- /dev/null
+++ b/binutils/testsuite/binutils-all/windres/escapea.rc
@@ -0,0 +1,7 @@
+20 MENU DISCARDABLE
+BEGIN
+ POPUP "&File"
+ BEGIN
+ MENUITEM "&Open\a^O", 17
+ END
+END
diff --git a/binutils/testsuite/binutils-all/windres/escapea.rsd b/binutils/testsuite/binutils-all/windres/escapea.rsd
new file mode 100644
index 0000000..1875ebe
--- /dev/null
+++ b/binutils/testsuite/binutils-all/windres/escapea.rsd
@@ -0,0 +1,7 @@
+ 0000 00000000 20000000 ffff0000 ffff0000 .... ...........
+ 0010 00000000 00000000 00000000 00000000 ................
+ 0020 28000000 20000000 ffff0400 ffff1400 (... ...........
+ 0030 00000000 10100000 00000000 00000000 ................
+ 0040 00000000 90002600 46006900 6c006500 ......&.F.i.l.e.
+ 0050 00008000 11002600 4f007000 65006e00 ......&.O.p.e.n.
+ 0060 08005e00 4f000000 ..^.O...