mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
11 lines
247 B
Rust
11 lines
247 B
Rust
macro_rules! black_hole {
|
|
($($tt:tt)*) => {}
|
|
}
|
|
|
|
fn main() {
|
|
black_hole! { '\u{FFFFFF}' }
|
|
//~^ ERROR: invalid unicode character escape
|
|
black_hole! { "this is surrogate: \u{DAAA}" }
|
|
//~^ ERROR: invalid unicode character escape
|
|
}
|