# stage2: test decls encode that they are tests in ZIR · gitcafe/zig

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

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

Visibility: public

Requested revision: 0611aa39858e6d7613cda3b3da981ff6b208a5e8

Requested commit: 0611aa39858e6d7613cda3b3da981ff6b208a5e8

Commit: 0611aa39858e6d7613cda3b3da981ff6b208a5e8

Tree: 271d5fa44237d19d7fb4b09d21b84c939658b9ca

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: test decls encode that they are tests in ZIR

This allows Sema to namespace them separately from function decls with
the same name. Ran into this in std.math.order conflicting with a test
with the same name.

```

## Parents

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

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