Debian Codegraph @

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

raw
1 /**
2 TEST_OUTPUT:
3 ---
4 fail_compilation/named_arguments_parse.d(13): Error: named arguments not allowed here
5 fail_compilation/named_arguments_parse.d(14): Error: named arguments not allowed here
6 ---
7 */
8
9
10 // @(attribute: 3) Currently gives an ugly parse error, will be better when named template arguments are implemented
11 void main()
12 {
13 mixin(thecode: "{}");
14 pragma(msg, themsg: "hello");
15 }