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