mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
10 lines
207 B
Rust
10 lines
207 B
Rust
//@ compile-flags:--test --cfg feature="bar"
|
|
|
|
// https://github.com/rust-lang/rust/issues/30252
|
|
#![crate_name="issue_30252"]
|
|
|
|
/// ```rust
|
|
/// assert_eq!(cfg!(feature = "bar"), true);
|
|
/// ```
|
|
pub fn foo() {}
|