| 1 |
// RUN: not %clang_cc1 -triple aarch64-none-linux-gnu %s -emit-llvm -o - \ |
| 2 |
// RUN: 2>&1 | FileCheck %s |
| 3 |
// RUN: not %clang_cc1 -triple aarch64-none-linux-gnu %s -emit-llvm -o - \ |
| 4 |
// RUN: -target-feature +sve,+bf16 2>&1 | FileCheck %s |
| 5 |
|
| 6 |
// CHECK: error: cannot yet @encode type __SVInt8_t |
| 7 |
const char s8[] = @encode(__SVInt8_t); |
| 8 |
// CHECK: error: cannot yet @encode type __SVInt16_t |
| 9 |
const char s16[] = @encode(__SVInt16_t); |
| 10 |
// CHECK: error: cannot yet @encode type __SVInt32_t |
| 11 |
const char s32[] = @encode(__SVInt32_t); |
| 12 |
// CHECK: error: cannot yet @encode type __SVInt64_t |
| 13 |
const char s64[] = @encode(__SVInt64_t); |
| 14 |
|
| 15 |
// CHECK: error: cannot yet @encode type __SVUint8_t |
| 16 |
const char u8[] = @encode(__SVUint8_t); |
| 17 |
// CHECK: error: cannot yet @encode type __SVUint16_t |
| 18 |
const char u16[] = @encode(__SVUint16_t); |
| 19 |
// CHECK: error: cannot yet @encode type __SVUint32_t |
| 20 |
const char u32[] = @encode(__SVUint32_t); |
| 21 |
// CHECK: error: cannot yet @encode type __SVUint64_t |
| 22 |
const char u64[] = @encode(__SVUint64_t); |
| 23 |
|
| 24 |
// CHECK: error: cannot yet @encode type __SVFloat16_t |
| 25 |
const char f16[] = @encode(__SVFloat16_t); |
| 26 |
// CHECK: error: cannot yet @encode type __SVFloat32_t |
| 27 |
const char f32[] = @encode(__SVFloat32_t); |
| 28 |
// CHECK: error: cannot yet @encode type __SVFloat64_t |
| 29 |
const char f64[] = @encode(__SVFloat64_t); |
| 30 |
|
| 31 |
// CHECK: error: cannot yet @encode type __SVBfloat16_t |
| 32 |
const char bf16[] = @encode(__SVBfloat16_t); |
| 33 |
|
| 34 |
// CHECK: error: cannot yet @encode type __SVMfloat8_t |
| 35 |
const char mf8[] = @encode(__SVMfloat8_t); |
| 36 |
|
| 37 |
// CHECK: error: cannot yet @encode type __SVBool_t |
| 38 |
const char b8[] = @encode(__SVBool_t); |