# CBE: fix C output after PR \#11302, reenable tests · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/8238d4b33585a715c58ab559cd001dd3ea1db55b)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 8238d4b33585a715c58ab559cd001dd3ea1db55b

Requested commit: 8238d4b33585a715c58ab559cd001dd3ea1db55b

Commit: 8238d4b33585a715c58ab559cd001dd3ea1db55b

Tree: f1d659627f00427fdaecaaacb80806d033a2501d

Author: Daniele Cocca

Committer: Andrew Kelley

## Message

```
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.

```

## Parents

- [8df84cce8b68339c332d30213efe90cdc833d059](https://git.cafe/gitcafe/zig/commit/8df84cce8b68339c332d30213efe90cdc833d059?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/8238d4b33585a715c58ab559cd001dd3ea1db55b?format=markdown)
