1 /* Test C2x static assertions. Omitting the string supported. Failed 2 assertions. */ 3 /* { dg-do compile } */ 4 /* { dg-options "-std=c2x -pedantic" } */ 5 6 _Static_assert (0); /* { dg-error "static assertion failed" } */ 7