rust/tests/run-make-fulldeps/issue-22131/foo.rs

6 lines
101 B
Rust
Raw Normal View History

/// ```rust
/// assert_eq!(foo::foo(), 1);
/// ```
#[cfg(feature = "bar")]
pub fn foo() -> i32 { 1 }