summaryrefslogtreecommitdiffstats
path: root/src/test/ui/feature-gates/feature-gate-rustc_const_unstable.rs
blob: d7daaaaa101e7d4e3db0b87a59abf2d02f2d2fda (plain)
1
2
3
4
5
6
7
// Test internal const fn feature gate.

#[rustc_const_unstable(feature="fzzzzzt")] //~ stability attributes may not be used outside
pub const fn bazinga() {}

fn main() {
}