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

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