summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.dg/attr-weak-1.c
blob: 014e37d4d9a5bbc77e00fdf76315640ead8bf708 (plain)
1
2
3
4
/* { dg-do compile } */

__inline void foo(void) __attribute__((weak));  /* { dg-error "inline.*weak" } */

OpenPOWER on IntegriCloud