diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/darwin-ld-3.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/darwin-ld-3.c | 12 |
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 000000000..e3efacaba --- /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; +} + |