summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/darwin-weakimport-3.c
blob: 77ab980b12d1daea401a467014c7596ce3999bd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile { target *-*-darwin* } } */
/* { dg-options "-fno-asynchronous-unwind-tables" } */
/* { dg-require-weak "" } */

/* { dg-final { scan-assembler-not "coalesced" } } */

extern void foo(void) __attribute__((weak_import));

void foo(void)
{
}