aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/darwin-ld-6.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/darwin-ld-6.c')
-rw-r--r--gcc/testsuite/gcc.dg/darwin-ld-6.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/darwin-ld-6.c b/gcc/testsuite/gcc.dg/darwin-ld-6.c
new file mode 100644
index 0000000..e3985ea
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/darwin-ld-6.c
@@ -0,0 +1,11 @@
+/* Test Darwin linker option -nofixprebinding. */
+/* Developed by Devang Patel <dpatel@apple.com>. */
+
+/* { dg-options "-nofixprebinding" } */
+/* { dg-do link { target *-*-darwin* } } */
+
+int main()
+{
+ return 0;
+}
+