b4c522fa IB |
1 | /* |
2 | TEST_OUTPUT: |
3 | --- |
5fee5ec3 |
4 | fail_compilation/diag3013.d(11): Error: cannot pass type `string` as a function argument |
b4c522fa IB |
5 | --- |
6 | */ |
7 | |
8 | int format(string, string, string); |
9 | |
10 | void main() { |
11 | int s = string.format("abc", "def"); |
12 | } |