]> git.proxmox.com Git - rustc.git/blame - src/librustc_middle/tests.rs
New upstream version 1.47.0+dfsg1
[rustc.git] / src / librustc_middle / tests.rs
CommitLineData
416331ca
XL
1use super::*;
2
ba9703b0 3// FIXME(#27438): right now the unit tests of librustc_middle don't refer to any actual
416331ca
XL
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]
11fn noop() {
12 rustc_data_structures::__noop_fix_for_27438();
13}