| 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" } */ |