2023-07-02 07:35:19 -05:00
|
|
|
#![allow(clippy::no_effect, unused)]
|
|
|
|
#![warn(clippy::needless_raw_string_hashes)]
|
|
|
|
#![feature(c_str_literals)]
|
|
|
|
|
|
|
|
fn main() {
|
2023-09-12 11:13:53 -05:00
|
|
|
r"\aaa";
|
2023-07-02 07:35:19 -05:00
|
|
|
r#"Hello "world"!"#;
|
|
|
|
r####" "### "## "# "####;
|
|
|
|
r###" "aa" "# "## "###;
|
2023-09-12 11:13:53 -05:00
|
|
|
br"\aaa";
|
2023-07-02 07:35:19 -05:00
|
|
|
br#"Hello "world"!"#;
|
|
|
|
br####" "### "## "# "####;
|
|
|
|
br###" "aa" "# "## "###;
|
2023-09-12 11:13:53 -05:00
|
|
|
cr"\aaa";
|
|
|
|
cr#"Hello "world"!"#;
|
|
|
|
cr####" "### "## "# "####;
|
|
|
|
cr###" "aa" "# "## "###;
|
|
|
|
|
|
|
|
r"
|
|
|
|
\a
|
|
|
|
multiline
|
|
|
|
string
|
|
|
|
";
|
2023-09-25 04:28:58 -05:00
|
|
|
|
|
|
|
r"rust";
|
|
|
|
r"hello world";
|
2023-07-02 07:35:19 -05:00
|
|
|
}
|