diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-14421.rs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-14421.rs b/src/test/ui/issues/issue-14421.rs new file mode 100644 index 000000000..c59bd8706 --- /dev/null +++ b/src/test/ui/issues/issue-14421.rs @@ -0,0 +1,16 @@ +// run-pass +#![allow(non_snake_case)] + +// aux-build:issue-14421.rs + +// pretty-expanded FIXME #23616 + +extern crate issue_14421 as bug_lib; + +use bug_lib::B; +use bug_lib::make; + +pub fn main() { + let mut an_A: B = make(); + an_A.foo(); +} |