Mercurial > projects > dstress
annotate nocompile/t/typedef_21_A.d @ 1320:daef239f37cf
sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
author | thomask |
---|---|
date | Sun, 31 Dec 2006 19:59:08 +0000 |
parents | 180f9d6a19e0 |
children |
rev | line source |
---|---|
1179
180f9d6a19e0
[Issue 289] New: Compiler allows (and crashes on) dynamic arrays of typedefs of "immediate"-function types
thomask
parents:
diff
changeset
|
1 // $HeadURL$ |
180f9d6a19e0
[Issue 289] New: Compiler allows (and crashes on) dynamic arrays of typedefs of "immediate"-function types
thomask
parents:
diff
changeset
|
2 // $Date$ |
180f9d6a19e0
[Issue 289] New: Compiler allows (and crashes on) dynamic arrays of typedefs of "immediate"-function types
thomask
parents:
diff
changeset
|
3 // $Author$ |
180f9d6a19e0
[Issue 289] New: Compiler allows (and crashes on) dynamic arrays of typedefs of "immediate"-function types
thomask
parents:
diff
changeset
|
4 |
180f9d6a19e0
[Issue 289] New: Compiler allows (and crashes on) dynamic arrays of typedefs of "immediate"-function types
thomask
parents:
diff
changeset
|
5 // @author@ Bruno Medeiros <brunodomedeiros+bugz@gmail.com> |
180f9d6a19e0
[Issue 289] New: Compiler allows (and crashes on) dynamic arrays of typedefs of "immediate"-function types
thomask
parents:
diff
changeset
|
6 // @date@ 2006-09-16 |
1320
daef239f37cf
sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
thomask
parents:
1179
diff
changeset
|
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=289 |
1179
180f9d6a19e0
[Issue 289] New: Compiler allows (and crashes on) dynamic arrays of typedefs of "immediate"-function types
thomask
parents:
diff
changeset
|
8 // @desc@ [Issue 289] New: Compiler allows (and crashes on) dynamic arrays of typedefs of "immediate"-function types |
180f9d6a19e0
[Issue 289] New: Compiler allows (and crashes on) dynamic arrays of typedefs of "immediate"-function types
thomask
parents:
diff
changeset
|
9 |
180f9d6a19e0
[Issue 289] New: Compiler allows (and crashes on) dynamic arrays of typedefs of "immediate"-function types
thomask
parents:
diff
changeset
|
10 // __DSTRESS_ELINE__ 16 |
180f9d6a19e0
[Issue 289] New: Compiler allows (and crashes on) dynamic arrays of typedefs of "immediate"-function types
thomask
parents:
diff
changeset
|
11 |
180f9d6a19e0
[Issue 289] New: Compiler allows (and crashes on) dynamic arrays of typedefs of "immediate"-function types
thomask
parents:
diff
changeset
|
12 module dstress.nocompile.t.typedef_21_A; |
180f9d6a19e0
[Issue 289] New: Compiler allows (and crashes on) dynamic arrays of typedefs of "immediate"-function types
thomask
parents:
diff
changeset
|
13 |
180f9d6a19e0
[Issue 289] New: Compiler allows (and crashes on) dynamic arrays of typedefs of "immediate"-function types
thomask
parents:
diff
changeset
|
14 typedef int ft(int); |
180f9d6a19e0
[Issue 289] New: Compiler allows (and crashes on) dynamic arrays of typedefs of "immediate"-function types
thomask
parents:
diff
changeset
|
15 |
180f9d6a19e0
[Issue 289] New: Compiler allows (and crashes on) dynamic arrays of typedefs of "immediate"-function types
thomask
parents:
diff
changeset
|
16 ft[] x; |
180f9d6a19e0
[Issue 289] New: Compiler allows (and crashes on) dynamic arrays of typedefs of "immediate"-function types
thomask
parents:
diff
changeset
|
17 |
180f9d6a19e0
[Issue 289] New: Compiler allows (and crashes on) dynamic arrays of typedefs of "immediate"-function types
thomask
parents:
diff
changeset
|
18 void test() { |
180f9d6a19e0
[Issue 289] New: Compiler allows (and crashes on) dynamic arrays of typedefs of "immediate"-function types
thomask
parents:
diff
changeset
|
19 x.length = 2; |
180f9d6a19e0
[Issue 289] New: Compiler allows (and crashes on) dynamic arrays of typedefs of "immediate"-function types
thomask
parents:
diff
changeset
|
20 } |