Debian Codegraph @

gcc/testsuite/gdc.test/fail_compilation/diag8425.d

raw
1 /*
2 REQUIRED_ARGS: -m64 -o-
3 TEST_OUTPUT:
4 ---
5 fail_compilation/diag8425.d(12): Error: T in __vector(T) must be a static array, not `void`
6 fail_compilation/diag8425.d(13): Error: 1 byte vector type `__vector(void[1])` is not supported on this platform
7 fail_compilation/diag8425.d(14): Error: 99 byte vector type `__vector(void[99])` is not supported on this platform
8 fail_compilation/diag8425.d(15): Error: vector type `__vector(void*[4])` is not supported on this platform
9 ---
10 */
11
12 alias a = __vector(void); // not static array
13 alias b = __vector(void[1]); // wrong size
14 alias c = __vector(void[99]); // wrong size
15 alias d = __vector(void*[4]); // wrong base type