1 /* Check that you can't redefine a C99 inline function. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c99" } */
5 extern inline int func1 (void) /* { dg-message "note: previous definition" } */
10 inline int func1 (void) /* { dg-error "redefinition" } */
15 inline int func2 (void) /* { dg-message "note: previous definition" } */
20 inline int func2 (void) /* { dg-error "redefinition" } */