diff options
Diffstat (limited to 'tests/ui/impl-trait/xcrate_simple.rs')
-rw-r--r-- | tests/ui/impl-trait/xcrate_simple.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/impl-trait/xcrate_simple.rs b/tests/ui/impl-trait/xcrate_simple.rs new file mode 100644 index 000000000..2b1fc97e3 --- /dev/null +++ b/tests/ui/impl-trait/xcrate_simple.rs @@ -0,0 +1,9 @@ +// run-pass + +// aux-build:xcrate.rs + +extern crate xcrate; + +fn main() { + xcrate::return_internal_fn()(); +} |