mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
9 lines
230 B
D
9 lines
230 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/diag9861.d(8): Error: no property `epsilon` for type `int`
|
|
fail_compilation/diag9861.d(9): while looking for match for `Foo!int`
|
|
---
|
|
*/
|
|
struct Foo(T, real x = T.epsilon) {}
|
|
Foo!(int) q;
|