mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
12 lines
248 B
Rust
12 lines
248 B
Rust
//@ compile-flags:--test
|
|
// https://github.com/rust-lang/rust/issues/18199
|
|
|
|
#![doc(test(attr(feature(staged_api))))]
|
|
|
|
/// ```
|
|
/// #![allow(internal_features)]
|
|
/// #![unstable(feature="test", issue="18199")]
|
|
/// fn main() {}
|
|
/// ```
|
|
pub fn foo() {}
|