annotate nocompile/sizeof_05.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 f87ba6507260
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
228
a3cb1d622f37 updated sizeof tests
thomask
parents:
diff changeset
1 // $HeadURL$
a3cb1d622f37 updated sizeof tests
thomask
parents:
diff changeset
2 // $Date$
a3cb1d622f37 updated sizeof tests
thomask
parents:
diff changeset
3 // $Author$
a3cb1d622f37 updated sizeof tests
thomask
parents:
diff changeset
4
374
f87ba6507260 added missing meta-data
thomask
parents: 228
diff changeset
5 // __DSTRESS_ELINE__ 10
f87ba6507260 added missing meta-data
thomask
parents: 228
diff changeset
6
228
a3cb1d622f37 updated sizeof tests
thomask
parents:
diff changeset
7 module dstress.nocompile.sizeof_05;
a3cb1d622f37 updated sizeof tests
thomask
parents:
diff changeset
8
a3cb1d622f37 updated sizeof tests
thomask
parents:
diff changeset
9 struct MyStruct{
a3cb1d622f37 updated sizeof tests
thomask
parents:
diff changeset
10 size_t sizeof(){
a3cb1d622f37 updated sizeof tests
thomask
parents:
diff changeset
11 return 6;
a3cb1d622f37 updated sizeof tests
thomask
parents:
diff changeset
12 }
a3cb1d622f37 updated sizeof tests
thomask
parents:
diff changeset
13 }