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

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

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

Visibility: public

Requested revision: bb957a976d214915c51d72a8112ef905a3777602

Requested commit: bb957a976d214915c51d72a8112ef905a3777602

Commit: bb957a976d214915c51d72a8112ef905a3777602

Tree: 630578a2efdfef354f74af0572a48f42a1cbb122

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

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

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