annotate run/wchar_03.d @ 1593:a2c2122f2f66

Remove error line information for simple tests that may legitimately have another line referenced in the error message.
author Christian Kamm <kamm incasoftware de>
date Thu, 28 Aug 2008 17:30:16 +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_03;
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 c;
25e3f5d59df4 added wchar tests
thomask
parents:
diff changeset
9 assert(wchar.sizeof==2);
25e3f5d59df4 added wchar tests
thomask
parents:
diff changeset
10 assert(wchar.sizeof==c.sizeof);
25e3f5d59df4 added wchar tests
thomask
parents:
diff changeset
11 assert(wchar.sizeof==(cast(wchar)'a').sizeof);
25e3f5d59df4 added wchar tests
thomask
parents:
diff changeset
12 assert(wchar.sizeof==typeof(c).sizeof);
25e3f5d59df4 added wchar tests
thomask
parents:
diff changeset
13 return 0;
25e3f5d59df4 added wchar tests
thomask
parents:
diff changeset
14 }