d: Merge upstream dmd, druntime 4c18eed967, phobos d945686a4.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail_arrayop3c.d
blob2e9d61a57ad9550e0f54f4bc3b574e4e3df0fdb8
1 /*
2 REQUIRED_ARGS: -o-
3 TEST_OUTPUT:
4 ----
5 $p:druntime/import/core/internal/array/operations.d$($n$): Error: static assert: "Binary op `*=` not supported for types `int*` and `int*`."
6 $p:druntime/import/core/internal/array/operations.d$($n$): instantiated from here: `typeCheck!(true, int*, int*, "*=")`
7 $p:druntime/import/object.d$($n$): instantiated from here: `arrayOp!(int*[], int*[], "*=")`
8 fail_compilation/fail_arrayop3c.d(15): instantiated from here: `_arrayOp!(int*[], int*[], "*=")`
9 ----
11 void test11376()
13 int*[] pa1;
14 int*[] pa2;
15 pa1[] *= pa2[];