From cf98dfbe22548728f247c314e3119c5a5dfceac5 Mon Sep 17 00:00:00 2001 From: LemonBoy Date: Sat, 24 Apr 2021 20:35:04 +0200 Subject: [PATCH] Remove translate-c test using long double literal Removed until the rendering logic is adapted to deal with 80bit (and bigger) floats, those are used sparingly in the wild so it's not much of a loss. --- test/translate_c.zig | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/translate_c.zig b/test/translate_c.zig index 5fa4c32041..846eec0d62 100644 --- a/test/translate_c.zig +++ b/test/translate_c.zig @@ -3028,7 +3028,6 @@ pub fn addCases(cases: *tests.TranslateCContext) void { \\void call() { \\ fn_int(3.0f); \\ fn_int(3.0); - \\ fn_int(3.0L); \\ fn_int('ABCD'); \\ fn_f32(3); \\ fn_f64(3); @@ -3053,7 +3052,6 @@ pub fn addCases(cases: *tests.TranslateCContext) void { \\pub export fn call() void { \\ fn_int(@floatToInt(c_int, 3.0)); \\ fn_int(@floatToInt(c_int, 3.0)); - \\ fn_int(@floatToInt(c_int, 3.0)); \\ fn_int(@as(c_int, 1094861636)); \\ fn_f32(@intToFloat(f32, @as(c_int, 3))); \\ fn_f64(@intToFloat(f64, @as(c_int, 3)));