Sign in
gnu
/
gcc.git
/
09a3da82125e07da504136841d577f103aa4ea13
/
.
/
gcc
/
testsuite
/
gcc.dg
/
gnu23-constexpr-2.c
blob: f570c2424f83b92d4490c7e556620fafd93a4fcc [
file
] [
log
] [
blame
]
/* Test C23 constexpr. Invalid types of integer initializers (bug 115515). */
/* { dg-do compile } */
/* { dg-options "-std=gnu23" } */
constexpr
int
i
=
5i
;
/* { dg-error "constexpr' integer initializer is not an integer constant expression" } */