Debian Codegraph @

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

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/diag9312.d(10): Error: `with` expression types must be enums or aggregates or pointers to them, not `int`
5 ---
6 */
7
8 void main()
9 {
10 with (1)
11 {
12 }
13 }