annotate nocompile/extern_05.d @ 151:f50665879ed4

added extern(Windows/Pascal/C++) tests
author thomask
date Wed, 24 Nov 2004 09:08:58 +0000
parents
children 7ab833470839
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 // this feature is as of dmd-0.106 undocumented
f50665879ed4 added extern(Windows/Pascal/C++) tests
thomask
parents:
diff changeset
6
f50665879ed4 added extern(Windows/Pascal/C++) tests
thomask
parents:
diff changeset
7 module dstress.nocompile.extern_05;
f50665879ed4 added extern(Windows/Pascal/C++) tests
thomask
parents:
diff changeset
8
f50665879ed4 added extern(Windows/Pascal/C++) tests
thomask
parents:
diff changeset
9 extern (C++) int test(char c);
f50665879ed4 added extern(Windows/Pascal/C++) tests
thomask
parents:
diff changeset
10
f50665879ed4 added extern(Windows/Pascal/C++) tests
thomask
parents:
diff changeset
11 int check(){
f50665879ed4 added extern(Windows/Pascal/C++) tests
thomask
parents:
diff changeset
12 return test('a');
f50665879ed4 added extern(Windows/Pascal/C++) tests
thomask
parents:
diff changeset
13 }