annotate nocompile/inline_07.d @ 739:0ea4c218a3ee

updated meta data for Torture
author thomask
date Sat, 12 Nov 2005 07:32:34 +0000
parents f87ba6507260
children 38ea1bb385b6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
295
28dd23a1080b inline / static
thomask
parents:
diff changeset
1 // $HeadURL$
28dd23a1080b inline / static
thomask
parents:
diff changeset
2 // $Date$
28dd23a1080b inline / static
thomask
parents:
diff changeset
3 // $Author$
28dd23a1080b inline / static
thomask
parents:
diff changeset
4
28dd23a1080b inline / static
thomask
parents:
diff changeset
5 // @author@ Thomas Kuehne <thomas-dloop@kuehne.THISISSPAM.cn>
28dd23a1080b inline / static
thomask
parents:
diff changeset
6 // @date@ 2005-02-19
28dd23a1080b inline / static
thomask
parents:
diff changeset
7 // @uri@ news:cv77ei$27mv$3@digitaldaemon.com
28dd23a1080b inline / static
thomask
parents:
diff changeset
8 // @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/3017
28dd23a1080b inline / static
thomask
parents:
diff changeset
9
739
0ea4c218a3ee updated meta data for Torture
thomask
parents: 374
diff changeset
10 // __DSTRESS_ELINE__ 21
295
28dd23a1080b inline / static
thomask
parents:
diff changeset
11
28dd23a1080b inline / static
thomask
parents:
diff changeset
12 module dstress.nocompile.inline_07;
28dd23a1080b inline / static
thomask
parents:
diff changeset
13
28dd23a1080b inline / static
thomask
parents:
diff changeset
14 struct MyStruct{
28dd23a1080b inline / static
thomask
parents:
diff changeset
15 int bug() {
28dd23a1080b inline / static
thomask
parents:
diff changeset
16 return 3;
28dd23a1080b inline / static
thomask
parents:
diff changeset
17 }
28dd23a1080b inline / static
thomask
parents:
diff changeset
18 }
28dd23a1080b inline / static
thomask
parents:
diff changeset
19
28dd23a1080b inline / static
thomask
parents:
diff changeset
20 int main(){
28dd23a1080b inline / static
thomask
parents:
diff changeset
21 assert(MyStruct.bug()==3);
28dd23a1080b inline / static
thomask
parents:
diff changeset
22 return 0;
28dd23a1080b inline / static
thomask
parents:
diff changeset
23 }