[Reland][Runtimes] Merge 'compile_commands.json' files from runtimes build (#116303)
[llvm-project.git] / clang / test / Sema / init-invalid-struct-array.c
blobe234d68039c0dece82251814621c26e40efa6a9f
1 // RUN: %clang_cc1 %s -verify -fsyntax-only
3 struct S {
4 Unknown u; // expected-error {{unknown type name 'Unknown'}}
5 int i;
6 };
7 // Should not crash
8 struct S s[] = {[0].i = 0, [1].i = 1, {}};