aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all/pr25543.d
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/testsuite/binutils-all/pr25543.d')
-rw-r--r--binutils/testsuite/binutils-all/pr25543.d12
1 files changed, 12 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/pr25543.d b/binutils/testsuite/binutils-all/pr25543.d
new file mode 100644
index 0000000..75f2392
--- /dev/null
+++ b/binutils/testsuite/binutils-all/pr25543.d
@@ -0,0 +1,12 @@
+#source: pr25543.s
+#readelf: -p.data
+#notarget: rx-*
+
+String dump of section '.data':
+ \[ 0\] line1 : This is a line without a newline at the end
+ \[ 34\] line2 : This is a line with a newline at the end\\n
+ \[ 66\] line3 : This is a line with a \\n
+ newline in the middle
+ \[ 9b\] line4 : This is a line with a \^Mcontrol character
+ \[ cd\] line6 : The previous line was empty\\n
+#pass