Skip to content

Commit

Permalink
version the 64 bit inline asm tests
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright committed Jun 11, 2011
1 parent dfefdd5 commit 7edcace
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion test/runnable/iasm64.d
@@ -1,10 +1,13 @@
// Copyright (c) 1999-2010 by Digital Mars
// Copyright (c) 1999-2011 by Digital Mars
// All Rights Reserved
// written by Walter Bright
// http://www.digitalmars.com

import std.c.stdio;

version (D_InlineAsm_X86_64)
{

struct M128 { int a,b,c,d; };
struct M64 { int a,b; };

Expand Down Expand Up @@ -213,3 +216,9 @@ int main()
return 0;
}

}
else
{
int main() { return 0; }
}

0 comments on commit 7edcace

Please sign in to comment.