rust/tests/ui/rfcs/rfc-2396-target_feature-11/fn-ptr.rs
2024-02-16 20:02:50 +00:00

11 lines
163 B
Rust

//@ only-x86_64
#![feature(target_feature_11)]
#[target_feature(enable = "sse2")]
fn foo() {}
fn main() {
let foo: fn() = foo; //~ ERROR mismatched types
}