# AstGen: lower function addrspace expression correctly · gitcafe/zig

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

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

Visibility: public

Requested revision: 01081cc8e8b79104f7992d60dbd1bc8682e8fedf

Requested commit: 01081cc8e8b79104f7992d60dbd1bc8682e8fedf

Commit: 01081cc8e8b79104f7992d60dbd1bc8682e8fedf

Tree: 11c282b950ce46042fbeb6960ff494ea128547f8

Author: mlugg

Committer: Matthew Lugg

## Message

```
AstGen: lower function addrspace expression correctly

Also, add some basic behavior tests for addrspace and linksection which
would have caught this bug in CI.

```

## Parents

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

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