Skip to content

Commit

Permalink
Test cases
Browse files Browse the repository at this point in the history
- Updated `simple_aliases.t`
  • Loading branch information
deavmi committed May 8, 2024
1 parent a659cb5 commit 33473f5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion source/tlang/testing/simple_aliases.t
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ int cnt()

alias expr = cnt();

alias inner = 1;

int main()
{
alias inner = 0;
int i = expr;
int p = expr;
return i+p;
int o = inner;
return i+p+o;
}

0 comments on commit 33473f5

Please sign in to comment.