blob: 491343c053d96e4f3b1bb6de22af5a9c9671fc9f [file] [log] [blame]
/* Test C23 support for empty initializers: invalid for empty arrays in
compound literals (bug 114266). */
/* { dg-do compile } */
/* { dg-options "-std=c23 -pedantic-errors" } */
void
f ()
{
(int []) { }; /* { dg-error "array of unknown size with empty initializer" } */
}