annotate compile/inline_03.d @ 1619:bebc7472a832

Fix #7.
author Christian Kamm <kamm incasoftware de>
date Sat, 07 Nov 2009 18:55:30 +0100
parents 5c6df2afb08f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
276
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
1 // $HeadURL$
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
2 // $Date$
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
3 // $Author$
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
4
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
5 // @author@ nail <nail_member@pathlink.com>
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
6 // @date@ 2005-02-06
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
7 // @uri@ news:cu5ghl$1cpd$1@digitaldaemon.com
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
8
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
9 module dstress.compile.inline_03;
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
10
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
11 struct Struct{
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
12
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
13 static Struct bug(){
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
14 Struct mat;
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
15
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
16 with (mat){
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
17 }
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
18
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
19 return mat;
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
20 }
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
21
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
22 static Struct check(){
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
23 Struct a;
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
24 return Struct.bug() * a;
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
25 }
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
26
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
27 Struct opMul(Struct mat){
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
28 return mat;
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
29 }
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
30 }
a5b12edf355b -inline flag and "with"
thomask
parents:
diff changeset
31