diff options
Diffstat (limited to 'src/test/ui/parser/macro/literals-are-validated-before-expansion.rs')
-rw-r--r-- | src/test/ui/parser/macro/literals-are-validated-before-expansion.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/parser/macro/literals-are-validated-before-expansion.rs b/src/test/ui/parser/macro/literals-are-validated-before-expansion.rs deleted file mode 100644 index c3fc754b5..000000000 --- a/src/test/ui/parser/macro/literals-are-validated-before-expansion.rs +++ /dev/null @@ -1,10 +0,0 @@ -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 -} |