Skip to content

Commit

Permalink
Test cases
Browse files Browse the repository at this point in the history
- Added `oop/basic.t`
  • Loading branch information
deavmi committed May 19, 2024
1 parent ebefcd5 commit cba532e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions source/tlang/testing/oop/basic.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
module basic;

class Person
{
byte* name;
}

int main()
{
Person g;
Person h;

g.name = 0;

return 0;
}

0 comments on commit cba532e

Please sign in to comment.