rt_gccstream/gcc/testsuite/gcc.dg/darwin-weakimport-3.c

12 lines
259 B
C

/* { 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)
{
}