]> git.lizzy.rs Git - rust.git/blob - src/librustc/tests.rs
compiletest: Do not run debuginfo tests with gdb on msvc targets
[rust.git] / src / librustc / tests.rs
1 use super::*;
2
3 // FIXME(#27438): right now the unit tests of librustc don't refer to any actual
4 //                functions generated in librustc_data_structures (all
5 //                references are through generic functions), but statics are
6 //                referenced from time to time. Due to this bug we won't
7 //                actually correctly link in the statics unless we also
8 //                reference a function, so be sure to reference a dummy
9 //                function.
10 #[test]
11 fn noop() {
12     rustc_data_structures::__noop_fix_for_27438();
13 }