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