brintos

brintos / llvm-project-archived public Read only

0
0
Text · 293 B · d3ec1b3 Raw
7 lines · cpp
1// RUN: %clang_cc1 -verify -fsyntax-only -fdump-record-layouts-complete %s2 3struct Incomplete; // expected-note {{forward declaration}}4 5// Check we don't crash on trying to print out an invalid declaration.6struct Invalid : Incomplete {}; // expected-error {{base class has incomplete type}}7