# Add behavior test for ptrCast on function pointer · gitcafe/zig

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

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

Visibility: public

Requested revision: 6bba5a39e4a4eb2262052a6d218cf71795a9d704

Requested commit: 6bba5a39e4a4eb2262052a6d218cf71795a9d704

Commit: 6bba5a39e4a4eb2262052a6d218cf71795a9d704

Tree: 024d9a9f1b4e2cf827443e33f60e84338e02dd60

Author: Stevie Hryciw

Committer: Stevie Hryciw

## Message

```
Add behavior test for ptrCast on function pointer

Closes #6280. In the C++ implementation this triggered a
compiler assertion.

```

## Parents

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

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