summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/darwin-ld-3.c
diff options
context:
space:
mode:
authordpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-12 22:23:45 +0000
committerdpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-12 22:23:45 +0000
commit82fb76a86a9eb4a1782e7c2d4175a26bb5d43ac6 (patch)
tree6937b5a408099a952a7e7137cadd42afd0a91b8f /gcc/testsuite/gcc.dg/darwin-ld-3.c
parent0c240d704a218960b53035204a1ec02b6eed7b2f (diff)
downloadgcc-82fb76a86a9eb4a1782e7c2d4175a26bb5d43ac6.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60081 138bc75d-0d04-0410-961f-82ee72b054a4
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 00000000000..e3efacaba24
--- /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;
+}
+