Remove @OpaqueType
This commit is contained in:
@@ -7394,7 +7394,7 @@ pub fn addCases(cases: *tests.CompileErrorContext) void {
|
||||
});
|
||||
|
||||
cases.add("function parameter is opaque",
|
||||
\\const FooType = @OpaqueType();
|
||||
\\const FooType = @Type(.Opaque);
|
||||
\\export fn entry1() void {
|
||||
\\ const someFuncPtr: fn (FooType) void = undefined;
|
||||
\\}
|
||||
|
||||
Reference in New Issue
Block a user