]> git.lizzy.rs Git - rust.git/blob - src/test/incremental/issue-39828/issue-39828.rs
Auto merge of #40091 - eddyb:rollup, r=eddyb
[rust.git] / src / test / incremental / issue-39828 / issue-39828.rs
1 // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
4 //
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
10
11 // Regression test for #39828. If you make use of a module that
12 // consists only of generics, no code is generated, just a dummy
13 // module. The reduced graph consists of a single node (for that
14 // module) with no inputs. Since we only serialize edges, when we
15 // reload, we would consider that node dirty since it is not recreated
16 // (it is not the target of any edges).
17
18 // revisions:rpass1 rpass2
19 // aux-build:generic.rs
20
21 extern crate generic;
22 fn main() { }