☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
mixinprop.d
☽
☼
gcc/testsuite/gdc.test/fail_compilation/mixinprop.d
code
plain
raw
1
/* TEST_OUTPUT:
2
---
3
fail_compilation/mixinprop.d(12): Error: no property `x` for `mixin Foo!() F;
4
` of type `void`
5
---
6
*/
7
mixin template Foo() { }
8
9
void main()
10
{
11
mixin Foo F;
12
F.x;
13
}