diff options
Diffstat (limited to 'tests/ui/block-result/issue-11714.rs')
-rw-r--r-- | tests/ui/block-result/issue-11714.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ui/block-result/issue-11714.rs b/tests/ui/block-result/issue-11714.rs new file mode 100644 index 000000000..3dda7e801 --- /dev/null +++ b/tests/ui/block-result/issue-11714.rs @@ -0,0 +1,7 @@ +fn blah() -> i32 { //~ ERROR mismatched types + 1 + + ; +} + +fn main() { } |