☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
diag3013.d
☽
☼
gcc/testsuite/gdc.test/fail_compilation/diag3013.d
code
plain
raw
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/diag3013.d(11): Error: cannot pass type `string` as a function argument
5
---
6
*/
7
8
int format(string, string, string);
9
10
void main() {
11
int s = string.format("abc", "def");
12
}