Skip to content

Commit 2df066f

Browse files
committed
feat(deadcode): add caso de teste
1 parent 8ff0aa3 commit 2df066f

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

tests/pass/deadcode.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
int main()
2+
{
3+
int a = 10;
4+
return a;
5+
a = 20;
6+
}

tests/pass/deadcode.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
os.exit((function(args)
2+
local a = 10
3+
return a
4+
end)(arg))

0 commit comments

Comments
 (0)