mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
8 lines
194 B
D
8 lines
194 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail4958.d(8): Error: enum member `fail4958.FloatEnum.B` has inexact value due to loss of precision
|
|
---
|
|
*/
|
|
|
|
enum FloatEnum : float { A = float.max/2, B, C }
|