zig/test/behavior
Daniele Cocca 8238d4b335 CBE: fix C output after PR #11302, reenable tests
Commit 052079c99455d01312d377d72fa1b8b5c0b22aad surfaced two issues with
the generated C code:

  - renderInt128() contained a seemingly unnecessary assertion to verify
    that the high 64 bits of the number were nonzero, dating back to
    9bf1681990fe87a6b2e5fc644a89f1aece304579. I removed it.
  - renderValue() didn't have any special handling for undefined structs,
    falling back to printing "{}" which generated invalid expressions
    such as "return {}" for functions returning structs, whereas
    "return (S){}" is the correct form. I changed it accordingly.

At the same time I'm reenabling the relevant tests.
2022-03-29 02:28:20 -04:00
..
2022-03-26 21:20:29 +01:00
2022-02-28 23:20:05 +01:00
2022-03-24 17:04:50 +01:00
2022-03-26 21:20:29 +01:00
2021-10-28 17:33:05 -07:00
2022-03-18 15:02:52 -07:00
2022-02-13 14:42:20 +02:00
2022-03-08 21:10:04 +01:00
2022-03-09 13:53:20 -07:00
2022-03-23 21:40:33 +01:00
2022-03-05 11:31:51 +01:00
2022-01-07 00:06:06 -05:00
2022-03-18 15:02:52 -07:00
2022-02-22 21:57:42 +01:00
2022-03-16 20:35:41 -07:00
2022-03-21 22:01:34 -04:00
2022-03-26 21:20:29 +01:00
2022-03-18 15:02:52 -07:00
2022-03-27 14:40:24 -07:00
2022-03-18 15:02:52 -07:00
2022-03-05 11:31:51 +01:00
2022-03-24 17:04:50 +01:00
2022-03-26 21:20:29 +01:00
2022-03-23 21:40:33 +01:00
2022-03-18 00:12:22 -07:00
2022-02-28 23:20:05 +01:00
2022-03-18 15:02:52 -07:00
2022-03-27 11:49:54 +03:00