mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 11:48:30 +00:00
What does an expression look like, that consists only of special characters?
This commit is contained in:
parent
9823cb99c5
commit
de12d437c9
@ -112,6 +112,12 @@ fn union() {
|
|||||||
union union<'union> { union: &'union union<'union>, }
|
union union<'union> { union: &'union union<'union>, }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn special_characters() {
|
||||||
|
let val = !((|(..):(_,_),__@_|__)((&*"\\",'@')/**/,{})=={&[..=..][..];})//
|
||||||
|
;
|
||||||
|
assert!(!val);
|
||||||
|
}
|
||||||
|
|
||||||
pub fn main() {
|
pub fn main() {
|
||||||
strange();
|
strange();
|
||||||
funny();
|
funny();
|
||||||
|
Loading…
Reference in New Issue
Block a user