提交 0e052f56 编写于 作者: S Seo Sanghyeon

Add SIMD vector type tests

上级 c5a7be62
#[simd]
struct vec4<T>(T, T, T, T); //~ ERROR SIMD vector cannot be generic
#[simd]
struct empty; //~ ERROR SIMD vector cannot be empty
#[simd]
struct i64f64(i64, f64); //~ ERROR SIMD vector should be homogeneous
#[simd]
struct int4(int, int, int, int); //~ ERROR SIMD vector element type should be machine type
fn main() {}
#[simd]
struct RGBA {
r: f32,
g: f32,
b: f32,
a: f32
}
fn main() {}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册