]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-1866.rs
Auto merge of #57108 - Mark-Simulacrum:license-remove, r=pietroalbini
[rust.git] / src / test / ui / issues / issue-1866.rs
1 // compile-pass
2 #![allow(dead_code)]
3 #![allow(non_camel_case_types)]
4
5 // pretty-expanded FIXME #23616
6
7 mod a {
8     pub type rust_task = usize;
9     pub mod rustrt {
10         use super::rust_task;
11         extern {
12             pub fn rust_task_is_unwinding(rt: *const rust_task) -> bool;
13         }
14     }
15 }
16
17 mod b {
18     pub type rust_task = bool;
19     pub mod rustrt {
20         use super::rust_task;
21         extern {
22             pub fn rust_task_is_unwinding(rt: *const rust_task) -> bool;
23         }
24     }
25 }
26
27 pub fn main() { }