aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/c11-digit-separators-1.c
blob: ab254706d3384996c6bc0d40a32f5c4fb27ccf39 (plain)
1
2
3
4
5
6
7
/* Test C23 digit separators not in C11.  */
/* { dg-do compile } */
/* { dg-options "-std=c11 -pedantic-errors" } */

#define m(x) 0

_Static_assert (m(1'2)+(3'4) == 0, "digit separators");