mirror of
https://github.com/ziglang/zig.git
synced 2025-12-24 15:13:08 +00:00
This reverts commit 0a9b4d092f58595888f9e4be8ef683b2ed8a0da1. Hm, these are all passing for me locally. I'll have to do some troubleshooting to figure out which one(s) are failing on the CI.
14 lines
194 B
Zig
14 lines
194 B
Zig
const std = @import("std");
|
|
|
|
const A = struct {
|
|
pub const B = bool;
|
|
};
|
|
|
|
const C = struct {
|
|
usingnamespace A;
|
|
};
|
|
|
|
test "basic usingnamespace" {
|
|
try std.testing.expect(C.B == bool);
|
|
}
|