Debian Codegraph @

gcc/testsuite/gdc.test/fail_compilation/fail133.d

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail133.d(13): Error: function `D main` circular dependency. Functions cannot be interpreted while being compiled
5 fail_compilation/fail133.d(15): called from here: `main()`
6 ---
7 */
8
9 template t(int t)
10 {
11 }
12
13 int main()
14 {
15 return t!(main() + 8);
16 }