# add compile error for intToPtr with a 0-bit ptr · gitcafe/zig

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

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

Visibility: public

Requested revision: 2e0b114fdce1a10b8433438d8e2251cf708a72ec

Requested commit: 2e0b114fdce1a10b8433438d8e2251cf708a72ec

Commit: 2e0b114fdce1a10b8433438d8e2251cf708a72ec

Tree: bde37363bf88c19995da326706fa0db191d523b2

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
add compile error for intToPtr with a 0-bit ptr

See #323

```

## Parents

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

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