summaryrefslogtreecommitdiffstats
path: root/src/test/incremental/issue-39828/issue-39828.rs
blob: 8cef916ff54232daf3286909a56bc83be59c0b12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Regression test for #39828. If you make use of a module that
// consists only of generics, no code is generated, just a dummy
// module. The reduced graph consists of a single node (for that
// module) with no inputs. Since we only serialize edges, when we
// reload, we would consider that node dirty since it is not recreated
// (it is not the target of any edges).

// revisions:rpass1 rpass2
// aux-build:generic.rs

extern crate generic;
fn main() { }