diff options
Diffstat (limited to 'tests/ui/statics/static-fn-inline-xc.rs')
-rw-r--r-- | tests/ui/statics/static-fn-inline-xc.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui/statics/static-fn-inline-xc.rs b/tests/ui/statics/static-fn-inline-xc.rs new file mode 100644 index 000000000..a400b9c8d --- /dev/null +++ b/tests/ui/statics/static-fn-inline-xc.rs @@ -0,0 +1,12 @@ +// run-pass +// aux-build:static_fn_inline_xc_aux.rs + +// pretty-expanded FIXME #23616 + +extern crate static_fn_inline_xc_aux as mycore; + +use mycore::num; + +pub fn main() { + let _1: f64 = num::Num2::from_int2(1); +} |