1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/ice10922.d(9): Error: function ice10922.__lambda4 (const(uint) n) is not callable using argument types ()
5 ---
6 */
7 
8 auto fib = (in uint n) pure nothrow {
9     enum self = __traits(parent, {});
10     return (n < 2) ? n : self(n - 1) + self(n - 2);
11 };
12 
main()13 void main()
14 {
15     auto n = fib(39);
16 }
17