repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail4958.d
blob
02bbc61666bf4ff802d79e0e6194db42ff526b00
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/fail4958.d(8): Error: enum member `fail4958.FloatEnum.B` has inexact value due to loss of precision
5
---
6
*/
7
8
enum
FloatEnum
:
float
{
A
=
float
.
max
/
2
,
B
,
C
}