2021-05-14 16:52:34 -05:00
|
|
|
// revisions: mir thir
|
|
|
|
// [thir]compile-flags: -Z thir-unsafeck
|
2020-05-01 08:32:28 -05:00
|
|
|
// only-x86_64
|
|
|
|
|
2023-03-02 06:41:17 -06:00
|
|
|
#![feature(target_feature_11)]
|
|
|
|
|
2020-05-01 08:32:28 -05:00
|
|
|
#[target_feature(enable = "sse2")]
|
|
|
|
fn foo() {}
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let foo: fn() = foo; //~ ERROR mismatched types
|
|
|
|
}
|