brintos

brintos / llvm-project-archived public Read only

0
0
Text · 428 B · ccecd7e Raw
15 lines · c
1// RUN: %clang_cc1 %s -triple i686-apple-darwin -verify -fsyntax-only2 3// Matrix types are disabled by default.4 5#if __has_extension(matrix_types)6#error Expected extension 'matrix_types' to be disabled7#endif8 9typedef double dx5x5_t __attribute__((matrix_type(5, 5)));10// expected-error@-1 {{matrix types extension is disabled. Pass -fenable-matrix to enable it}}11 12void load_store_double(dx5x5_t *a, dx5x5_t *b) {13  *a = *b;14}15