Mercurial > projects > dstress
changeset 309:174de95adb17
extern(C++) is now documented
author | thomask |
---|---|
date | Wed, 16 Mar 2005 10:33:13 +0000 |
parents | 1dcc48f613dc |
children | 49b0654b9881 |
files | compile/extern_08.d nocompile/extern_05.d |
diffstat | 2 files changed, 11 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/extern_08.d Wed Mar 16 10:33:13 2005 +0000 @@ -0,0 +1,11 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +module dstress.compile.extern_05; + +extern (C++) int test(char c); + +int check(){ + return test('a'); +}
--- a/nocompile/extern_05.d Mon Mar 14 07:07:41 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,13 +0,0 @@ -// $HeadURL$ -// $Date$ -// $Author$ - -// this feature is - as of dmd-0.106 - undocumented - -module dstress.nocompile.extern_05; - -extern (C++) int test(char c); - -int check(){ - return test('a'); -}