diff options
Diffstat (limited to 'tests/ui/macros/not-utf8.rs')
-rw-r--r-- | tests/ui/macros/not-utf8.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/macros/not-utf8.rs b/tests/ui/macros/not-utf8.rs new file mode 100644 index 000000000..1cb1fdcb8 --- /dev/null +++ b/tests/ui/macros/not-utf8.rs @@ -0,0 +1,5 @@ +// error-pattern: did not contain valid UTF-8 + +fn foo() { + include!("not-utf8.bin") +} |