# behavior tests: correction of C pointer test · gitcafe/zig

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

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

Visibility: public

Requested revision: 95f5e17e49d32a301d6a9d6f9948719d65469b09

Requested commit: 95f5e17e49d32a301d6a9d6f9948719d65469b09

Commit: 95f5e17e49d32a301d6a9d6f9948719d65469b09

Tree: cf0457ec85038f2133ffbc7075e0ccf82d0ec7d1

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

````
behavior tests: correction of C pointer test

This test was also covering this behavior:

```zig
test "equality of pointers to comptime const" {
    const a: i32 = undefined;
    comptime assert(&a == &a);
}
```

This check belongs in its own behavior test which isolates this
behavior; not bundled along with a C pointer test.

````

## Parents

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

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