aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/attr-alloc_size-2.c
blob: 3cac807370ff4e07d97647f1bd8d21e51e2c93a2 (plain)
1
2
3
4
/* { dg-do compile } */

char *foo() __attribute__((alloc_size(1))); /* { dg-warning "outside range" } */