]> git.lizzy.rs Git - rust.git/blob - src/test/incremental/issue-39828/issue-39828.rs
Merge commit '15c8d31392b9fbab3b3368b67acc4bbe5983115a' into cranelift-rebase
[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() { }