Debian Codegraph @

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

raw
1 /*
2 REQUIRED_ARGS: -m64
3 TEST_OUTPUT:
4 ---
5 fail_compilation/test16116.d(14): Error: incompatible types for `(v) * (i)`: `__vector(short[8])` and `int`
6 ---
7 */
8
9 // https://issues.dlang.org/show_bug.cgi?id=16116
10
11 void foo() {
12 __vector(short[8]) v;
13 int i;
14 v = v * i;
15 }