OSDN Git Service

gcc
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / darwin-ld-2.c
diff --git a/gcc/testsuite/gcc.dg/darwin-ld-2.c b/gcc/testsuite/gcc.dg/darwin-ld-2.c
new file mode 100644 (file)
index 0000000..33a9c86
--- /dev/null
@@ -0,0 +1,11 @@
+/* Test Darwin linker option -bind_at_load.  */
+/* Developed by Devang Patel <dpatel@apple.com>.  */
+
+/* { dg-options "-bind_at_load" } */
+/* { dg-do link { target powerpc-*-darwin* } } */
+
+int main()
+{
+  return 0;
+}
+