diff options
Diffstat (limited to 'tests/ui/attributes/main-removed-1.rs')
| -rw-r--r-- | tests/ui/attributes/main-removed-1.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/attributes/main-removed-1.rs b/tests/ui/attributes/main-removed-1.rs new file mode 100644 index 00000000000..0e887469d44 --- /dev/null +++ b/tests/ui/attributes/main-removed-1.rs @@ -0,0 +1,2 @@ +#[main] //~ ERROR cannot find attribute `main` in this scope +fn main() {} |
