mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
12 lines
247 B
Rust
12 lines
247 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() {}
|