aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/ia32-3.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/ia32-3.d')
-rw-r--r--ld/testsuite/ld-x86-64/ia32-3.d4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/ia32-3.d b/ld/testsuite/ld-x86-64/ia32-3.d
new file mode 100644
index 0000000..1528399
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/ia32-3.d
@@ -0,0 +1,4 @@
+#source: dummy.s
+#as: --32
+#ld: -m elf_i386 tmpdir/start32.o tmpdir/foo64.o
+#error: .*i386:x86-64 architecture of input file `tmpdir/foo64.o' is incompatible with i386 output