# Sema: resolve elem type for non-default aligned ptrs · gitcafe/zig

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

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

Visibility: public

Requested revision: 36da3000c0076c5a2bd0b2258718510cf11dd3e2

Requested commit: 36da3000c0076c5a2bd0b2258718510cf11dd3e2

Commit: 36da3000c0076c5a2bd0b2258718510cf11dd3e2

Tree: 959a6b70ab1ebb7171d7dd527183d5c959cda91f

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Sema: resolve elem type for non-default aligned ptrs

Before this commit, I observe a crash from this abiSize call because the
element type is a struct that is not yet resolved. This is triggered by
running the behavior tests with -ofmt=c -target x86_64-windows.

```

## Parents

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

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