blob: ce57a3454bb21d6f153331e92df83451e7c03e55 [file] [log] [blame]
// Test diagnostics for the removed struct inheritance feature.
virtual struct SuperStruct {
//~^ ERROR expected item, found reserved keyword `virtual`
f1: isize,
}
struct Struct : SuperStruct;
pub fn main() {}