1 // RUN: %clang_cc1 -std=c++20 -verify %s
2 // Check we don't crash on incomplete members and bases when handling parenthesized initialization.
3 class incomplete
; // expected-note@-0 3 {{forward declaration of 'incomplete'}}
7 // expected-error@-1 {{incomplete type}}
14 struct bar
: one_int
, incomplete
{};
15 // expected-error@-1 {{incomplete type}}
18 incomplete a3
[3](1,2,3);
19 // expected-error@-1 {{incomplete type}}