dmd/compiler/test/fail_compilation/fail79.d
2022-07-09 18:53:07 +02:00

14 lines
199 B
D

/*
TEST_OUTPUT:
---
fail_compilation/fail79.d(13): Error: incompatible types for `(& a) + (& b)`: both operands are of type `int*`
---
*/
void main()
{
int a, b;
int* p;
p = &a + &b;
}