1 // https://issues.dlang.org/show_bug.cgi?id=20800
6 fail_compilation/fail20800.d(23): Error: function `fun` is not callable using argument types `(string)`
7 fail_compilation/fail20800.d(23): cannot pass argument `(m()).index()` of type `string` to parameter `int a`
8 fail_compilation/fail20800.d(19): `fail20800.fun(int a)` declared here
14 string
index() { return null; }
17 static m() { return RegexMatch(); }