2013-02-06 16:49:24 +09:00
|
|
|
fn main() {
|
|
|
|
0xABC.Df;
|
2019-01-11 21:19:44 -08:00
|
|
|
//~^ ERROR `{integer}` is a primitive type and therefore doesn't have fields
|
2013-02-06 16:49:24 +09:00
|
|
|
0x567.89;
|
2019-01-11 21:19:44 -08:00
|
|
|
//~^ ERROR hexadecimal float literal is not supported
|
2013-02-06 16:49:24 +09:00
|
|
|
0xDEAD.BEEFp-2f;
|
2019-01-11 21:19:44 -08:00
|
|
|
//~^ ERROR invalid suffix `f` for float literal
|
|
|
|
//~| ERROR `{integer}` is a primitive type and therefore doesn't have fields
|
2013-02-06 16:49:24 +09:00
|
|
|
}
|