summaryrefslogtreecommitdiffstats
path: root/src/test/ui/feature-gates/issue-43106-gating-of-test.rs
blob: 39835c9268eef89324b9af59ca0f8aae0547e605 (plain)
1
2
3
4
5
6
7
// The non-crate level cases are in issue-43106-gating-of-builtin-attrs.rs.

#![allow(soft_unstable)]
#![test                    = "4200"]
//~^ ERROR cannot determine resolution for the attribute macro `test`
//~^^ ERROR `test` attribute cannot be used at crate level
fn main() {}