diff options
| author | Michael Woerister <michaelwoerister@posteo> | 2019-01-17 15:32:05 +0100 |
|---|---|---|
| committer | Michael Woerister <michaelwoerister@posteo> | 2019-01-17 15:32:05 +0100 |
| commit | 3884cc8df480eba9bb8d19fa46e9fe6c9f9d729b (patch) | |
| tree | a073bb8e672cde73de0be5183c6ee5935728e00b /src/test/incremental | |
| parent | 659994627234ce7d95a1a52ad8756ce661059adf (diff) | |
| download | rust-3884cc8df480eba9bb8d19fa46e9fe6c9f9d729b.tar.gz rust-3884cc8df480eba9bb8d19fa46e9fe6c9f9d729b.zip | |
Fix typo bug in DepGraph::try_mark_green().
Diffstat (limited to 'src/test/incremental')
| -rw-r--r-- | src/test/incremental/change_name_of_static_in_fn.rs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/test/incremental/change_name_of_static_in_fn.rs b/src/test/incremental/change_name_of_static_in_fn.rs new file mode 100644 index 00000000000..5b27b6808ea --- /dev/null +++ b/src/test/incremental/change_name_of_static_in_fn.rs @@ -0,0 +1,17 @@ + +// revisions:rpass1 rpass2 rpass3 + +// See issue #57692. + +#![allow(warnings)] + +fn main() { + #[cfg(rpass1)] + { + static map: u64 = 0; + } + #[cfg(not(rpass1))] + { + static MAP: u64 = 0; + } +} |
