Mercurial > projects > ldc
view tests/mini/structs7.d @ 357:82af71383b8a trunk
[svn r378] Make some errors fatal to prevent segfaults. Error instead of assert on missing label.
Fixes: nocompile/
finally_02, 03, 07, 08
goto_16_A, 16_B, 12, 13, 14
author | ChristianK |
---|---|
date | Mon, 14 Jul 2008 12:11:30 +0200 |
parents | 1bb99290e03a |
children | 44f08170f4ef |
line wrap: on
line source
module structs7; pragma(LLVM_internal, "notypeinfo") struct S { int i; long l; } void main() { S s = void; int i = s.i; long l = s.l; }