diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-09-16 14:02:00 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-09-16 14:31:41 -0400 |
| commit | c6e77f248d3771070162d80341f9aeef89a49924 (patch) | |
| tree | e9b6b90577552d1447408ce5a147d22af44d49e5 /test | |
| parent | 1cefe1442450961a7960fa3b4b488ae50d5abbef (diff) | |
| download | zig-c6e77f248d3771070162d80341f9aeef89a49924.tar.gz zig-c6e77f248d3771070162d80341f9aeef89a49924.zip | |
fix tripping llvm assert
```
Assertion `!isa<DIType>(Scope) && "shouldn't
make a namespace scope for a type"
```
We've had this problem and solved it before; see #579.
Diffstat (limited to 'test')
| -rw-r--r-- | test/stage1/behavior/union.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/stage1/behavior/union.zig b/test/stage1/behavior/union.zig index 75b01164f8..d340a52d1e 100644 --- a/test/stage1/behavior/union.zig +++ b/test/stage1/behavior/union.zig @@ -1,4 +1,5 @@ -const expect = @import("std").testing.expect; +const std = @import("std"); +const expect = std.testing.expect; const Value = union(enum) { Int: u64, |
