39 lines · plain
1// RUN: not %clang_cc1 -triple aarch64-none-linux-gnu %s -emit-llvm -o - \2// RUN: 2>&1 | FileCheck %s3// RUN: not %clang_cc1 -triple aarch64-none-linux-gnu %s -emit-llvm -o - \4// RUN: -target-feature +sve,+bf16 2>&1 | FileCheck %s5 6// CHECK: error: cannot yet @encode type __SVInt8_t7const char s8[] = @encode(__SVInt8_t);8// CHECK: error: cannot yet @encode type __SVInt16_t9const char s16[] = @encode(__SVInt16_t);10// CHECK: error: cannot yet @encode type __SVInt32_t11const char s32[] = @encode(__SVInt32_t);12// CHECK: error: cannot yet @encode type __SVInt64_t13const char s64[] = @encode(__SVInt64_t);14 15// CHECK: error: cannot yet @encode type __SVUint8_t16const char u8[] = @encode(__SVUint8_t);17// CHECK: error: cannot yet @encode type __SVUint16_t18const char u16[] = @encode(__SVUint16_t);19// CHECK: error: cannot yet @encode type __SVUint32_t20const char u32[] = @encode(__SVUint32_t);21// CHECK: error: cannot yet @encode type __SVUint64_t22const char u64[] = @encode(__SVUint64_t);23 24// CHECK: error: cannot yet @encode type __SVFloat16_t25const char f16[] = @encode(__SVFloat16_t);26// CHECK: error: cannot yet @encode type __SVFloat32_t27const char f32[] = @encode(__SVFloat32_t);28// CHECK: error: cannot yet @encode type __SVFloat64_t29const char f64[] = @encode(__SVFloat64_t);30 31// CHECK: error: cannot yet @encode type __SVBfloat16_t32const char bf16[] = @encode(__SVBfloat16_t);33 34// CHECK: error: cannot yet @encode type __SVMfloat8_t35const char mf8[] = @encode(__SVMfloat8_t);36 37// CHECK: error: cannot yet @encode type __SVBool_t38const char b8[] = @encode(__SVBool_t);39