aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/darwin-ld-20040809-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.dg/darwin-ld-20040809-2.c')
-rw-r--r--gcc-4.9/gcc/testsuite/gcc.dg/darwin-ld-20040809-2.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.dg/darwin-ld-20040809-2.c b/gcc-4.9/gcc/testsuite/gcc.dg/darwin-ld-20040809-2.c
new file mode 100644
index 000000000..73d788db0
--- /dev/null
+++ b/gcc-4.9/gcc/testsuite/gcc.dg/darwin-ld-20040809-2.c
@@ -0,0 +1,12 @@
+/* Test -no_dead_strip_inits_and_terms support. */
+/* Contributed by Devang Patel <dpatel@apple.com> */
+
+/* { dg-do compile { target *-*-darwin* } } */
+/* { dg-options "-no_dead_strip_inits_and_terms" } */
+
+int
+main ()
+{
+ return 0;
+}
+