summaryrefslogtreecommitdiffstats
path: root/src/test/ui/default-method-parsing.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/default-method-parsing.rs')
-rw-r--r--src/test/ui/default-method-parsing.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/default-method-parsing.rs b/src/test/ui/default-method-parsing.rs
new file mode 100644
index 000000000..9ffb8d94a
--- /dev/null
+++ b/src/test/ui/default-method-parsing.rs
@@ -0,0 +1,8 @@
+// run-pass
+// pretty-expanded FIXME #23616
+
+trait Foo {
+ fn m(&self, _:isize) { }
+}
+
+pub fn main() { }