Add d as floating point suffix for double types.

This commit is contained in:
Christoffer Lerno
2025-05-28 12:02:24 +02:00
parent f4b9f375e0
commit 83d6b35afe
7 changed files with 25 additions and 14 deletions

View File

@@ -1,8 +1,8 @@
// #target: macos-x64
module test;
uint f0 = $typeof(1.0f).sizeof;
uint f32 = $typeof(1.0f32).sizeof;
uint f64 = $typeof(1.0f64).sizeof;
uint f32 = $typeof(1.0f).sizeof;
uint f64 = $typeof(1.0d).sizeof;
/* #expect: test.ll