aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/1-source/lit_float_bad_exponent_capital.zc
blob: 4e4c9036e72572e739859b2bd15dec2e72646ee3 (plain) (blame)
1
2
3
4
5
// expect error: bad float
// spec 1.4.3
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
fn main() { pn(1); float f = 2E; return 0; }