annotate compile/extern_03.d @ 1576:b3e16c86558e

[Issue 1398] New: GDC doesn't generate correct code <mariusmuja@gmail.com> 2007-08-04 http://d.puremagic.com/issues/show_bug.cgi?id=1398
author thomask
date Thu, 21 Feb 2008 15:20:08 +0000
parents f50665879ed4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
151
f50665879ed4 added extern(Windows/Pascal/C++) tests
thomask
parents:
diff changeset
1 // $HeadURL$
f50665879ed4 added extern(Windows/Pascal/C++) tests
thomask
parents:
diff changeset
2 // $Date$
f50665879ed4 added extern(Windows/Pascal/C++) tests
thomask
parents:
diff changeset
3 // $Author$
f50665879ed4 added extern(Windows/Pascal/C++) tests
thomask
parents:
diff changeset
4
f50665879ed4 added extern(Windows/Pascal/C++) tests
thomask
parents:
diff changeset
5 module dstress.compile.extern_03;
f50665879ed4 added extern(Windows/Pascal/C++) tests
thomask
parents:
diff changeset
6
f50665879ed4 added extern(Windows/Pascal/C++) tests
thomask
parents:
diff changeset
7 version(Windows){
f50665879ed4 added extern(Windows/Pascal/C++) tests
thomask
parents:
diff changeset
8 extern (Windows) int test(char c);
f50665879ed4 added extern(Windows/Pascal/C++) tests
thomask
parents:
diff changeset
9
f50665879ed4 added extern(Windows/Pascal/C++) tests
thomask
parents:
diff changeset
10 int check(){
f50665879ed4 added extern(Windows/Pascal/C++) tests
thomask
parents:
diff changeset
11 return test('a');
f50665879ed4 added extern(Windows/Pascal/C++) tests
thomask
parents:
diff changeset
12 }
f50665879ed4 added extern(Windows/Pascal/C++) tests
thomask
parents:
diff changeset
13 }