gcc/testsuite/gdc.test/fail_compilation/fail19759.d
raw| 1 | // https://issues.dlang.org/show_bug.cgi?id=19759 |
| 2 | /* TEST_OUTPUT: |
| 3 | --- |
| 4 | fail_compilation/fail19759.d(8): Error: function `fail19759` cannot have parameter of type `float[4]` because its linkage is `extern(C++)` |
| 5 | fail_compilation/fail19759.d(8): perhaps use a `float*` type instead |
| 6 | --- |
| 7 | */ |
| 8 | extern(C++) bool fail19759(float[4] col); |