diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-16922-rpass.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-16922-rpass.rs b/src/test/ui/issues/issue-16922-rpass.rs new file mode 100644 index 000000000..c3c6ff304 --- /dev/null +++ b/src/test/ui/issues/issue-16922-rpass.rs @@ -0,0 +1,11 @@ +// run-pass +// pretty-expanded FIXME #23616 + +use std::any::Any; + +fn foo(_: &u8) { +} + +fn main() { + let _ = &foo as &dyn Any; +} |