Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
arshiamufti committed Aug 4, 2017

Verified

This commit was signed with the committer’s verified signature.
snyk-bot Snyk bot
1 parent e772c28 commit 0f924b8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/run-pass/weird-exprs.rs
Original file line number Diff line number Diff line change
@@ -107,6 +107,10 @@ fn fishy() {
String::<>::from::<>("><>").chars::<>().rev::<>().collect::<String>());
}

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();
}

0 comments on commit 0f924b8

Please sign in to comment.