diff options
Diffstat (limited to 'tests/ui/deprecation/invalid-literal.rs')
-rw-r--r-- | tests/ui/deprecation/invalid-literal.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/deprecation/invalid-literal.rs b/tests/ui/deprecation/invalid-literal.rs new file mode 100644 index 000000000..fbdfbd160 --- /dev/null +++ b/tests/ui/deprecation/invalid-literal.rs @@ -0,0 +1,4 @@ +#[deprecated = b"test"] //~ ERROR malformed `deprecated` attribute +fn foo() {} + +fn main() {} |