| 186 | |
| 187 | |
| 188 | static MutableArray returnsMutableArray() { |
| 189 | MutableArray ma = MutableArray::newArray(); |
| 190 | ma.append(17); |
| 191 | return ma; |
| 192 | } |
| 193 | |
| 194 | TEST_CASE("API Mutable Invalid Assignment", "[API]") { |
| 195 | // This next line should fail to compile: |