(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
Walloc-size-larger-than-16.c
       1  /* PR middle-end/82063 - issues with arguments enabled by -Wall
       2     Verify that an invalid argument to -Walloc-size-larger-than is diagnosed.
       3     { dg-do compile }
       4     { dg-options "-Walloc-size-larger-than=1zb -Walloca-larger-than=2kbytes -Wvla-larger-than=3MIBZ" } */
       5  
       6  
       7  /* { dg-error "argument to '-Walloc-size-larger-than=' should be a non-negative integer optionally followed by a size unit" "" { target *-*-* } 0 }
       8     { dg-error "argument to '-Walloca-larger-than=' should be a non-negative integer optionally followed by a size unit" "" { target *-*-* } 0 }
       9     { dg-error "argument to '-Wvla-larger-than=' should be a non-negative integer optionally followed by a size unit" "" { target *-*-* } 0 } */