| author | |
| committer | |
| log | a2e95546995b126464728ecd2075ee93565005bf |
| tree | 8f32dc38076bb777419e76843d0e11f19838866a |
| parent | 7dcda5b0e8b2a6e001c4fa29d748cd093ca57436 |
1 files changed, 4 insertions(+), 0 deletions(-)
lib/std/meta.zig+4| ... | ... | @@ -280,11 +280,15 @@ test "std.meta.declarations" { |
| 280 | 280 | |
| 281 | 281 | fn a() void {} |
| 282 | 282 | }; |
| 283 | const O1 = opaque { | |
| 284 | fn a() void {} | |
| 285 | }; | |
| 283 | 286 | |
| 284 | 287 | const decls = comptime [_][]const TypeInfo.Declaration{ |
| 285 | 288 | declarations(E1), |
| 286 | 289 | declarations(S1), |
| 287 | 290 | declarations(U1), |
| 291 | declarations(O1), | |
| 288 | 292 | }; |
| 289 | 293 | |
| 290 | 294 | inline for (decls) |decl| { |