diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/attr-weak-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/attr-weak-1.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/attr-weak-1.c b/gcc/testsuite/gcc.dg/attr-weak-1.c new file mode 100644 index 000000000..65041291b --- /dev/null +++ b/gcc/testsuite/gcc.dg/attr-weak-1.c @@ -0,0 +1,4 @@ +/* { dg-do compile } */ + +__inline void foo(void) __attribute__((weak)); /* { dg-warning "inline.*weak" } */ + |