From 0f924b86c496bf4224fc5f84b7ce40c93bb2c7a9 Mon Sep 17 00:00:00 2001 From: arshiamufti Date: Fri, 4 Aug 2017 00:53:09 -0700 Subject: [PATCH] add test --- src/test/run-pass/weird-exprs.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/test/run-pass/weird-exprs.rs b/src/test/run-pass/weird-exprs.rs index 20f58301d4524..64fd9e0a7721b 100644 --- a/src/test/run-pass/weird-exprs.rs +++ b/src/test/run-pass/weird-exprs.rs @@ -107,6 +107,10 @@ fn fishy() { String::<>::from::<>("><>").chars::<>().rev::<>().collect::()); } +fn union() { + union union<'union> { union: &'union union<'union>, } +} + pub fn main() { strange(); funny(); @@ -119,4 +123,5 @@ pub fn main() { dots(); you_eight(); fishy(); + union(); }