]> git.lizzy.rs Git - rust.git/blob - src/test/incremental/issue-39828/issue-39828.rs
Add 'compiler/rustc_codegen_gcc/' from commit 'afae271d5d3719eeb92c18bc004bb6d1965a5f3f'
[rust.git] / src / test / incremental / issue-39828 / issue-39828.rs
1 // Regression test for #39828. If you make use of a module that
2 // consists only of generics, no code is generated, just a dummy
3 // module. The reduced graph consists of a single node (for that
4 // module) with no inputs. Since we only serialize edges, when we
5 // reload, we would consider that node dirty since it is not recreated
6 // (it is not the target of any edges).
7
8 // revisions:rpass1 rpass2
9 // aux-build:generic.rs
10
11 extern crate generic;
12 fn main() { }