mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
15 lines
274 B
D
15 lines
274 B
D
/*
|
|
REQUIRED_ARGS: -m64
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/test16116.d(14): Error: incompatible types for `(v) * (i)`: `__vector(short[8])` and `int`
|
|
---
|
|
*/
|
|
|
|
// https://issues.dlang.org/show_bug.cgi?id=16116
|
|
|
|
void foo() {
|
|
__vector(short[8]) v;
|
|
int i;
|
|
v = v * i;
|
|
}
|