Debian Codegraph @

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

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail79.d(13): Error: incompatible types for `(& a) + (& b)`: both operands are of type `int*`
5 ---
6 */
7
8 void main()
9 {
10 int a, b;
11 int* p;
12
13 p = &a + &b;
14 }