aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/Wlarger-than2.c
blob: eac67f48b5a972684575858767d5c83c19e42ee5 (plain)
1
2
3
4
5
6
7
/* { dg-do compile } */
/* { dg-options "-Wlarger-than=8" } */
static void foo (void) 
{
  char buf[9]; /* { dg-warning "size of.*9 bytes" } */
}