summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/nan-mixed-2.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-mips-elf/nan-mixed-2.d')
-rw-r--r--ld/testsuite/ld-mips-elf/nan-mixed-2.d5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/nan-mixed-2.d b/ld/testsuite/ld-mips-elf/nan-mixed-2.d
new file mode 100644
index 0000000000..388d770966
--- /dev/null
+++ b/ld/testsuite/ld-mips-elf/nan-mixed-2.d
@@ -0,0 +1,5 @@
+#source: nan-2008.s
+#source: nan-legacy.s
+#ld: -r
+#error: \A[^\n]*: [^\n]* linking -mnan=legacy module with previous -mnan=2008 modules\n
+#error: [^\n]*: failed to merge target specific data of file [^\n]*\.o\Z