Allow -c to be specified with -E in cosmocc

This commit is contained in:
Justine Tunney 2024-07-31 02:09:15 -07:00
parent 4ed4a1095a
commit f8cfc89eba
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
10 changed files with 41 additions and 4 deletions

View file

@ -116,10 +116,12 @@ main()
return 31;
if (ctl::to_string(3.14L) != "3.14")
return 32;
#if LDBL_MANT_DIG > 64
if (ctl::to_string(LDBL_MAX) != "1.189731495357232e+4932")
return 33;
if (ctl::to_string(-LDBL_MAX) != "-1.189731495357232e+4932")
return 34;
#endif
}
CheckForMemoryLeaks();