Debian Codegraph @

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

raw
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 ----
10 */
11 void test11376()
12 {
13 int*[] pa1;
14 int*[] pa2;
15 pa1[] *= pa2[];
16 }