annotate run/debug_info_06.d @ 367:58ba24adbc52

glue.c 622 Jarrett Billingsley <kb3ctd2@yahoo.com> 2005-03-25 news:d21vhg$pld$1@digitaldaemon.com
author thomask
date Sat, 26 Mar 2005 07:01:53 +0000
parents
children 1e6afb94ce6d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
367
58ba24adbc52 glue.c 622
thomask
parents:
diff changeset
1 // $HeadURL$
58ba24adbc52 glue.c 622
thomask
parents:
diff changeset
2 // $Date$
58ba24adbc52 glue.c 622
thomask
parents:
diff changeset
3 // $Author$
58ba24adbc52 glue.c 622
thomask
parents:
diff changeset
4
58ba24adbc52 glue.c 622
thomask
parents:
diff changeset
5 // @author@ Jarrett Billingsley <kb3ctd2@yahoo.com>
58ba24adbc52 glue.c 622
thomask
parents:
diff changeset
6 // @date@ 2005-03-25
58ba24adbc52 glue.c 622
thomask
parents:
diff changeset
7 // @uri@ news:d21vhg$pld$1@digitaldaemon.com
58ba24adbc52 glue.c 622
thomask
parents:
diff changeset
8
58ba24adbc52 glue.c 622
thomask
parents:
diff changeset
9 // __DSTRESS_DFLAGS__ -g
58ba24adbc52 glue.c 622
thomask
parents:
diff changeset
10
58ba24adbc52 glue.c 622
thomask
parents:
diff changeset
11 module dstress.run.debug_info_06;
58ba24adbc52 glue.c 622
thomask
parents:
diff changeset
12
58ba24adbc52 glue.c 622
thomask
parents:
diff changeset
13 struct MyStruct{
58ba24adbc52 glue.c 622
thomask
parents:
diff changeset
14 }
58ba24adbc52 glue.c 622
thomask
parents:
diff changeset
15
58ba24adbc52 glue.c 622
thomask
parents:
diff changeset
16 int check(fn f){
58ba24adbc52 glue.c 622
thomask
parents:
diff changeset
17 return 1;
58ba24adbc52 glue.c 622
thomask
parents:
diff changeset
18 }
58ba24adbc52 glue.c 622
thomask
parents:
diff changeset
19
58ba24adbc52 glue.c 622
thomask
parents:
diff changeset
20 alias int function(int m) fn;
58ba24adbc52 glue.c 622
thomask
parents:
diff changeset
21
58ba24adbc52 glue.c 622
thomask
parents:
diff changeset
22 int main(){
58ba24adbc52 glue.c 622
thomask
parents:
diff changeset
23 MyStruct m;
58ba24adbc52 glue.c 622
thomask
parents:
diff changeset
24 fn f;
58ba24adbc52 glue.c 622
thomask
parents:
diff changeset
25 assert(check(f)==1);
58ba24adbc52 glue.c 622
thomask
parents:
diff changeset
26 return 0;
58ba24adbc52 glue.c 622
thomask
parents:
diff changeset
27 }