annotate run/wchar_08.d @ 1619:bebc7472a832

Fix #7.
author Christian Kamm <kamm incasoftware de>
date Sat, 07 Nov 2009 18:55:30 +0100
parents 25e3f5d59df4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
142
25e3f5d59df4 added wchar tests
thomask
parents:
diff changeset
1 // $HeadURL$
25e3f5d59df4 added wchar tests
thomask
parents:
diff changeset
2 // $Date$
25e3f5d59df4 added wchar tests
thomask
parents:
diff changeset
3 // $Author$
25e3f5d59df4 added wchar tests
thomask
parents:
diff changeset
4
25e3f5d59df4 added wchar tests
thomask
parents:
diff changeset
5 module dstress.run.wchar_08;
25e3f5d59df4 added wchar tests
thomask
parents:
diff changeset
6
25e3f5d59df4 added wchar tests
thomask
parents:
diff changeset
7 int main(){
25e3f5d59df4 added wchar tests
thomask
parents:
diff changeset
8 wchar wc;
25e3f5d59df4 added wchar tests
thomask
parents:
diff changeset
9 assert(wchar.max==0xFFFF);
25e3f5d59df4 added wchar tests
thomask
parents:
diff changeset
10 assert(wchar.max==wc.max);
25e3f5d59df4 added wchar tests
thomask
parents:
diff changeset
11 assert(wchar.max=='\u0012'.max);
25e3f5d59df4 added wchar tests
thomask
parents:
diff changeset
12 return 0;
25e3f5d59df4 added wchar tests
thomask
parents:
diff changeset
13 }