PR tree-optimization/83369 - Missing diagnostics during inlining
[official-gcc.git] / gcc / testsuite / gcc.dg / c90-static-assert-1.c
blobd174ec9b10707836c5f3f6d4770d248903fd0f02
1 /* Test for static assertions not in C90. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=iso9899:1990 -pedantic-errors" } */
5 _Static_assert (1, ""); /* { dg-error "ISO C90 does not support '_Static_assert'" } */