
We no longer try to compute and dump the layout of types in cases where that isn’t possible. This fixes #83684 and #83671.
7 lines
293 B
C++
7 lines
293 B
C++
// RUN: %clang_cc1 -verify -fsyntax-only -fdump-record-layouts-complete %s
|
|
|
|
struct Incomplete; // expected-note {{forward declaration}}
|
|
|
|
// Check we don't crash on trying to print out an invalid declaration.
|
|
struct Invalid : Incomplete {}; // expected-error {{base class has incomplete type}}
|