c: New C2x keywords
[platform/upstream/gcc.git] / gcc / testsuite / gcc.dg / c2x-static-assert-3.c
1 /* Test C2x static assertions.  static_assert keyword.  */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c2x -pedantic" } */
4
5 static_assert (1);
6 static_assert (1, "message");