Sign in
gnu
/
gcc.git
/
refs/heads/trunk
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail11445.d
blob: e4105b8d9241b8b778d35cc63331bf3794820e21 [
file
]
/*
TEST_OUTPUT:
---
fail_compilation/fail11445.d(11): Error: illegal operator `+` for `a` of type `double[string]`
---
*/
void
main
()
{
double
[
string
]
a
=
[
"foo"
:
22.2
];
double
[
string
]
b
=
[
"bar"
:
22.2
];
auto
c
=
a
+
b
;
}