summaryrefslogtreecommitdiffstats
path: root/binutils/testsuite/binutils-all/windres
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-04-09 15:36:43 +0000
committerNick Clifton <nickc@redhat.com>2002-04-09 15:36:43 +0000
commit4c30641a0f5551dff885ff61a7b7368a81a77421 (patch)
treeeff43f00afa2ebf3beb9b0d4854cff57c355096c /binutils/testsuite/binutils-all/windres
parent2ed5f585e4f1b7f0c719d704807f994938613a4c (diff)
downloadppe42-binutils-4c30641a0f5551dff885ff61a7b7368a81a77421.tar.gz
ppe42-binutils-4c30641a0f5551dff885ff61a7b7368a81a77421.zip
Fix parsing hex constants in strings. Add test for the fix.
Diffstat (limited to 'binutils/testsuite/binutils-all/windres')
-rw-r--r--binutils/testsuite/binutils-all/windres/escapex.rc4
-rw-r--r--binutils/testsuite/binutils-all/windres/escapex.rsd8
2 files changed, 12 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/windres/escapex.rc b/binutils/testsuite/binutils-all/windres/escapex.rc
new file mode 100644
index 0000000000..1a025f656c
--- /dev/null
+++ b/binutils/testsuite/binutils-all/windres/escapex.rc
@@ -0,0 +1,4 @@
+101 DIALOG DISCARDABLE 0, 0, 186, 95
+BEGIN
+ LTEXT "\xB0",-1,23,46,28,8
+END
diff --git a/binutils/testsuite/binutils-all/windres/escapex.rsd b/binutils/testsuite/binutils-all/windres/escapex.rsd
new file mode 100644
index 0000000000..916534251e
--- /dev/null
+++ b/binutils/testsuite/binutils-all/windres/escapex.rsd
@@ -0,0 +1,8 @@
+ 0000 00000000 20000000 ffff0000 ffff0000 .... ...........
+ 0010 00000000 00000000 00000000 00000000 ................
+ 0020 34000000 20000000 ffff0500 ffff6500 4... .........e.
+ 0030 00000000 10100000 00000000 00000000 ................
+ 0040 00008880 00000000 01000000 0000ba00 ................
+ 0050 5f000000 00000000 00000250 00000000 _..........P....
+ 0060 17002e00 1c000800 ffffffff 8200b000 ................
+ 0070 00000000 ....
OpenPOWER on IntegriCloud