Debian Codegraph @

clang/test/Layout/dump-complete-invalid.cpp

raw
1 // RUN: %clang_cc1 -verify -fsyntax-only -fdump-record-layouts-complete %s
2
3 struct Incomplete; // expected-note {{forward declaration}}
4
5 // Check we don't crash on trying to print out an invalid declaration.
6 struct Invalid : Incomplete {}; // expected-error {{base class has incomplete type}}