aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/darwin-ld-3.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.dg/darwin-ld-3.c')
-rw-r--r--gcc-4.9/gcc/testsuite/gcc.dg/darwin-ld-3.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.dg/darwin-ld-3.c b/gcc-4.9/gcc/testsuite/gcc.dg/darwin-ld-3.c
new file mode 100644
index 000000000..e3efacaba
--- /dev/null
+++ b/gcc-4.9/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;
+}
+