annotate nocompile/s/struct_initialization_09_B.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 a00c90d4303d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1275
a00c90d4303d [Issue 490] New: Static struct initializer without static attribute aborts dmd with assertion
thomask
parents:
diff changeset
1 // $HeadURL$
a00c90d4303d [Issue 490] New: Static struct initializer without static attribute aborts dmd with assertion
thomask
parents:
diff changeset
2 // $Date$
a00c90d4303d [Issue 490] New: Static struct initializer without static attribute aborts dmd with assertion
thomask
parents:
diff changeset
3 // $Author$
a00c90d4303d [Issue 490] New: Static struct initializer without static attribute aborts dmd with assertion
thomask
parents:
diff changeset
4
a00c90d4303d [Issue 490] New: Static struct initializer without static attribute aborts dmd with assertion
thomask
parents:
diff changeset
5 // @author@ Tom <chievo3@gmail.com>
a00c90d4303d [Issue 490] New: Static struct initializer without static attribute aborts dmd with assertion
thomask
parents:
diff changeset
6 // @date@ 2006-11-09
1320
daef239f37cf sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
thomask
parents: 1275
diff changeset
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=490
1275
a00c90d4303d [Issue 490] New: Static struct initializer without static attribute aborts dmd with assertion
thomask
parents:
diff changeset
8 // @desc@ [Issue 490] New: Static struct initializer without static attribute aborts dmd with assertion
a00c90d4303d [Issue 490] New: Static struct initializer without static attribute aborts dmd with assertion
thomask
parents:
diff changeset
9
a00c90d4303d [Issue 490] New: Static struct initializer without static attribute aborts dmd with assertion
thomask
parents:
diff changeset
10 // __DSTRESS_ELINE__ 19
a00c90d4303d [Issue 490] New: Static struct initializer without static attribute aborts dmd with assertion
thomask
parents:
diff changeset
11
a00c90d4303d [Issue 490] New: Static struct initializer without static attribute aborts dmd with assertion
thomask
parents:
diff changeset
12 module dstress.nocompile.s.struct_initialization_09_B;
a00c90d4303d [Issue 490] New: Static struct initializer without static attribute aborts dmd with assertion
thomask
parents:
diff changeset
13
a00c90d4303d [Issue 490] New: Static struct initializer without static attribute aborts dmd with assertion
thomask
parents:
diff changeset
14 struct S {
a00c90d4303d [Issue 490] New: Static struct initializer without static attribute aborts dmd with assertion
thomask
parents:
diff changeset
15 int a;
a00c90d4303d [Issue 490] New: Static struct initializer without static attribute aborts dmd with assertion
thomask
parents:
diff changeset
16 }
a00c90d4303d [Issue 490] New: Static struct initializer without static attribute aborts dmd with assertion
thomask
parents:
diff changeset
17
a00c90d4303d [Issue 490] New: Static struct initializer without static attribute aborts dmd with assertion
thomask
parents:
diff changeset
18 void foo(){
a00c90d4303d [Issue 490] New: Static struct initializer without static attribute aborts dmd with assertion
thomask
parents:
diff changeset
19 S s = {a:1};
a00c90d4303d [Issue 490] New: Static struct initializer without static attribute aborts dmd with assertion
thomask
parents:
diff changeset
20 }