]> git.lizzy.rs Git - rust.git/blob - src/test/ui/typeck/issue-69378-ice-on-invalid-type-node-after-recovery.rs
Add 'compiler/rustc_codegen_gcc/' from commit 'afae271d5d3719eeb92c18bc004bb6d1965a5f3f'
[rust.git] / src / test / ui / typeck / issue-69378-ice-on-invalid-type-node-after-recovery.rs
1 // Regression test for #69378: no type for node after struct parse recovery
2
3 struct Foo { 0: u8 } //~ ERROR expected identifier
4
5 fn test(f: Foo) {
6     Foo{foo: 4, ..f};
7 }
8
9 fn main() {}