Skip to content

Commit

Permalink
(#234) CodeGen: add a test for abstract parameter declarators
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR committed Oct 19, 2022
1 parent d552b12 commit a7d264a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Cesium.CodeGen.Tests/CodeGenTypeTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -194,4 +194,15 @@ int main(void) {
foo x;
return x.nonExisting;
}", "\"foo\" has no member named \"nonExisting\"");

[Fact]
public Task ComplexStructDefinition() => DoTest(@"typedef void(*function)(int, const int*, const int*);
typedef struct {
int a;
int b[5];
unsigned char c[64];
function func;
int array[80][5];
} foo;");
}

0 comments on commit a7d264a

Please sign in to comment.