☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
diag9861.d
☽
☼
gcc/testsuite/gdc.test/fail_compilation/diag9861.d
code
plain
raw
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/diag9861.d(8): Error: no property `epsilon` for type `int`
5
fail_compilation/diag9861.d(9): while looking for match for `Foo!int`
6
---
7
*/
8
struct Foo(T, real x = T.epsilon) {}
9
Foo!(int) q;