annotate run/wchar_08.d @ 1630:d0efa3ae5522 default tip

run/mini/naked_asm5: New x86_64 ABI passes the arguments in reverse order.
author David Nadlinger <code@klickverbot.at>
date Sat, 23 Apr 2011 22:57:32 +0200
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 }