☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
test17908b.d
☽
☼
gcc/testsuite/gdc.test/fail_compilation/test17908b.d
code
plain
raw
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/test17908b.d(13): Error: function `test17908b.foobar` cannot be used because it is annotated with `@disable`
5
---
6
*/
7
void foobar() {}
8
@disable void foobar(int) {}
9
alias i = foobar;
10
11
void main()
12
{
13
i(10);
14
}