Check in bad ui test output resulting from issue 805
diff --git a/tests/ui/expected_named.stderr b/tests/ui/expected_named.stderr
new file mode 100644
index 0000000..bb06cdf
--- /dev/null
+++ b/tests/ui/expected_named.stderr
@@ -0,0 +1,7 @@
+error: expected one of `!`, `(`, `+`, `::`, `<`, `where`, or `{`, found `'a`
+ --> $DIR/expected_named.rs:4:23
+  |
+4 |         type Borrowed<'a>;
+  |                       ^^ unexpected token
+5 |         fn borrowed() -> UniquePtr<Borrowed>;
+  |                                            - expected one of 7 possible tokens