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-08-27 08:55:55 -05:00
|
|
|
r"\aaa";
|
2023-07-02 07:35:19 -05:00
|
|
|
r#"Hello "world"!"#;
|
|
|
|
r####" "### "## "# "####;
|
|
|
|
r###" "aa" "# "## "###;
|
2023-08-27 08:55:55 -05:00
|
|
|
br"\aaa";
|
2023-07-02 07:35:19 -05:00
|
|
|
br#"Hello "world"!"#;
|
|
|
|
br####" "### "## "# "####;
|
|
|
|
br###" "aa" "# "## "###;
|
2023-08-27 08:55:55 -05:00
|
|
|
cr"\aaa";
|
|
|
|
cr#"Hello "world"!"#;
|
|
|
|
cr####" "### "## "# "####;
|
|
|
|
cr###" "aa" "# "## "###;
|
|
|
|
|
|
|
|
r"
|
|
|
|
\a
|
|
|
|
multiline
|
|
|
|
string
|
|
|
|
";
|
2023-09-16 23:54:00 -05:00
|
|
|
|
|
|
|
r"rust";
|
|
|
|
r"hello world";
|
2023-07-02 07:35:19 -05:00
|
|
|
}
|