Skip to content

Commit de12d43

Browse files
authored
What does an expression look like, that consists only of special characters?
1 parent 9823cb9 commit de12d43

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/test/run-pass/weird-exprs.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,12 @@ fn union() {
112112
union union<'union> { union: &'union union<'union>, }
113113
}
114114

115+
fn special_characters() {
116+
let val = !((|(..):(_,_),__@_|__)((&*"\\",'@')/**/,{})=={&[..=..][..];})//
117+
;
118+
assert!(!val);
119+
}
120+
115121
pub fn main() {
116122
strange();
117123
funny();

0 commit comments

Comments
 (0)