☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail335.d
☽
☼
gcc/testsuite/gdc.test/fail_compilation/fail335.d
code
plain
raw
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/fail335.d(9): Error: cannot overload both property and non-property functions
5
---
6
*/
7
8
void foo();
9
@property void foo(int);
10
11
void main()
12
{
13
foo(1);
14
}