export: check variable type

also fixed existing occurrences
This commit is contained in:
Sahnvour
2019-09-21 23:29:55 +02:00
parent 912c1c24c3
commit 696567d9d7
3 changed files with 15 additions and 4 deletions

View File

@@ -74,7 +74,7 @@ pub fn addCases(cases: *tests.GenHContext) void {
);
cases.add("declare opaque type",
\\export const Foo = @OpaqueType();
\\const Foo = @OpaqueType();
\\
\\export fn entry(foo: ?*Foo) void { }
,