# add a test for returning a type that closes over a local const · gitcafe/zig

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

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

Visibility: public

Requested revision: e7c04b6df2d839a25cc4e2cf8da900c7dd04bc7d

Requested commit: e7c04b6df2d839a25cc4e2cf8da900c7dd04bc7d

Commit: e7c04b6df2d839a25cc4e2cf8da900c7dd04bc7d

Tree: 1873a03a606bfc066c4da9b90a908b357dcbcbd3

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
add a test for returning a type that closes over a local const

closes #552

```

## Parents

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

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