aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/var1.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/var1.d')
-rw-r--r--ld/testsuite/ld-elf/var1.d10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/var1.d b/ld/testsuite/ld-elf/var1.d
new file mode 100644
index 0000000..4ddfec3
--- /dev/null
+++ b/ld/testsuite/ld-elf/var1.d
@@ -0,0 +1,10 @@
+#ld: $srcdir/$subdir/var1.t --sort-section name
+#nm: -n
+
+#...
+0[0-9a-f]* D var1
+#...
+0[0-9a-f]* A var2
+#...
+0[0-9a-f]* D var3
+#pass