Sign in
gnu
/
gcc.git
/
refs/heads/trunk
/
.
/
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" } */