summaryrefslogtreecommitdiffstats
path: root/src/test/pretty/lifetime.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/pretty/lifetime.rs')
-rw-r--r--src/test/pretty/lifetime.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/pretty/lifetime.rs b/src/test/pretty/lifetime.rs
new file mode 100644
index 000000000..34eae849b
--- /dev/null
+++ b/src/test/pretty/lifetime.rs
@@ -0,0 +1,5 @@
+// pp-exact
+
+fn f1<'a, 'b, 'c>(_x: &'a u32, _y: &'b u32, _z: &'c u32) where 'c: 'a + 'b {}
+
+fn main() {}