Debian Codegraph @

gcc/testsuite/gcc.dg/gnu23-constexpr-2.c

raw
1 /* Test C23 constexpr. Invalid types of integer initializers (bug 115515). */
2 /* { dg-do compile } */
3 /* { dg-options "-std=gnu23" } */
4
5 constexpr int i = 5i; /* { dg-error "constexpr' integer initializer is not an integer constant expression" } */