| ... | @@ -280,11 +280,15 @@ test "std.meta.declarations" { | ... | @@ -280,11 +280,15 @@ test "std.meta.declarations" { |
| 280 | | 280 | |
| 281 | fn a() void {} | 281 | fn a() void {} |
| 282 | }; | 282 | }; |
| | 283 | const O1 = opaque { |
| | 284 | fn a() void {} |
| | 285 | }; |
| 283 | | 286 | |
| 284 | const decls = comptime [_][]const TypeInfo.Declaration{ | 287 | const decls = comptime [_][]const TypeInfo.Declaration{ |
| 285 | declarations(E1), | 288 | declarations(E1), |
| 286 | declarations(S1), | 289 | declarations(S1), |
| 287 | declarations(U1), | 290 | declarations(U1), |
| | 291 | declarations(O1), |
| 288 | }; | 292 | }; |
| 289 | | 293 | |
| 290 | inline for (decls) |decl| { | 294 | inline for (decls) |decl| { |