Added testing files

deps_refactor
Tristan B. Kildaire 3 years ago
parent ff9890437d
commit 43891b1dfb

3
.gitignore vendored

@ -14,3 +14,6 @@ tlang-test-*
*.obj
*.lst
dub.selections.json
test
.gitignore
tets

@ -0,0 +1,40 @@
module typeChecking3;
void main()
{
asm
{
mov R15, RSP;
}
asm
{
sub RSP, 4;
mov dword ptr [RSP], 69;
}
asm
{
sub RSP, 4;
mov dword ptr [RSP], 69;
}
asm
{
sub RSP, 4;
mov dword ptr [RSP], 69;
}
asm
{
mov RSP, R15;
}
int h = -1;
h = *((&h)-4);
import std.stdio;
writeln(h);
}

@ -0,0 +1,11 @@
void main()
{
asm
{
mov RAX, 3;
push 5;
// pop RAX;
}
}
Loading…
Cancel
Save