Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

Changeset 796

Show
Ignore:
Timestamp:
12/12/10 04:50:54 (14 years ago)
Author:
braddr
Message:

Fix compilable tests to be semantically correct for x86_64.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/test/compilable/b33.d

    r573 r796  
    11// EXTRA_SOURCES: imports/b33a.d 
    22// PERMUTE_ARGS: 
    33 
    44module b33; 
    55 
    66private import imports.b33a; 
    77 
    8 int fn() 
     8size_t fn() 
    99{ 
    1010    return find( "123" ); 
    1111} 
    1212 
  • trunk/test/compilable/callconv.d

    r545 r796  
    11// PERMUTE_ARGS: 
     2 
     3import core.stdc.stdarg; 
    24 
    35struct ABC 
    46{ 
    57    int x[4]; 
    68} 
    79 
    810ABC abc; 
    911 
    1012int x,y,z; 
    1113 
    1214extern (Pascal): 
    1315ABC test1(int xx, int yy, int zz) 
    1416{ 
    1517    x = xx; 
    1618    y = yy; 
    1719    z = zz; 
    1820    return abc; 
    1921} 
    2022 
    2123extern (Pascal):