mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
16 lines
593 B
D
16 lines
593 B
D
/*
|
|
REQUIRED_ARGS: -o-
|
|
TEST_OUTPUT:
|
|
----
|
|
$p:druntime/import/core/internal/array/operations.d$($n$): Error: static assert: "Binary op `*=` not supported for types `int*` and `int*`."
|
|
$p:druntime/import/core/internal/array/operations.d$($n$): instantiated from here: `typeCheck!(true, int*, int*, "*=")`
|
|
$p:druntime/import/object.d$($n$): instantiated from here: `arrayOp!(int*[], int*[], "*=")`
|
|
fail_compilation/fail_arrayop3c.d(15): instantiated from here: `_arrayOp!(int*[], int*[], "*=")`
|
|
----
|
|
*/
|
|
void test11376()
|
|
{
|
|
int*[] pa1;
|
|
int*[] pa2;
|
|
pa1[] *= pa2[];
|
|
}
|