aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/darwin-ld-3.c
diff options
context:
space:
mode:
authorDevang Patel <dpatel@gcc.gnu.org>2002-12-12 14:23:45 -0800
committerDevang Patel <dpatel@gcc.gnu.org>2002-12-12 14:23:45 -0800
commit61c85ff12df4cacdc2bc956e3bcc76f555659646 (patch)
tree6937b5a408099a952a7e7137cadd42afd0a91b8f /gcc/testsuite/gcc.dg/darwin-ld-3.c
parent59578c84479efd12970b846199f1b94eb4e0acfe (diff)
downloadgcc-61c85ff12df4cacdc2bc956e3bcc76f555659646.zip
gcc-61c85ff12df4cacdc2bc956e3bcc76f555659646.tar.gz
gcc-61c85ff12df4cacdc2bc956e3bcc76f555659646.tar.bz2
invoke.texi: Document Darwin linker options...
gcc *doc/invoke.texi: Document Darwin linker options, -bundle -bind_at_load, -all_load and -arch_errors_fatal testsuite * gcc.dg/darwin-ld-1.c: New test. * gcc.dg/darwin-ld-2.c: New test. * gcc.dg/darwin-ld-3.c: New test. * gcc.dg/darwin-ld-4.c: New test. * gcc.dg/darwin-ld-5.c: New test. From-SVN: r60081
Diffstat (limited to 'gcc/testsuite/gcc.dg/darwin-ld-3.c')
-rw-r--r--gcc/testsuite/gcc.dg/darwin-ld-3.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/darwin-ld-3.c b/gcc/testsuite/gcc.dg/darwin-ld-3.c
new file mode 100644
index 0000000..e3efaca
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/darwin-ld-3.c
@@ -0,0 +1,12 @@
+
+/* Test Darwin linker option -arch_errors_fatal. */
+/* Developed by Devang Patel <dpatel@apple.com>. */
+
+/* { dg-options "-arch_errors_fatal" } */
+/* { dg-do link { target *-*-darwin* } } */
+
+int main()
+{
+ return 0;
+}
+