☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail79.d
☽
☼
gcc/testsuite/gdc.test/fail_compilation/fail79.d
code
plain
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
}