mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-18 01:39:03 +02:00
stupid merge ... :/
This commit is contained in:
11
tests/mini/compile_asm1.d
Normal file
11
tests/mini/compile_asm1.d
Normal file
@@ -0,0 +1,11 @@
|
||||
extern(C) int printf(char*, ...);
|
||||
void main()
|
||||
{
|
||||
void* i;
|
||||
asm
|
||||
{
|
||||
mov EAX, FS:4;
|
||||
mov i, EAX;
|
||||
}
|
||||
printf("FS:4 = %p\n", i);
|
||||
}
|
||||
Reference in New Issue
Block a user