summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/recover-struct.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/recover-struct.rs')
-rw-r--r--tests/ui/parser/recover-struct.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ui/parser/recover-struct.rs b/tests/ui/parser/recover-struct.rs
new file mode 100644
index 000000000..bfa5b454c
--- /dev/null
+++ b/tests/ui/parser/recover-struct.rs
@@ -0,0 +1,7 @@
+fn main() {
+ struct Test {
+ Very
+ Bad //~ ERROR found `Bad`
+ Stuff
+ }
+}