view test/structs7.d @ 320:d772927ca496 trunk

[svn r341] Fix all regressions between [332] and [340]: - fixed assert on empty catch body - fixed(?) typedefed classes in catch specification - fixed assert with catchall Added some documentation.
author ChristianK
date Sat, 05 Jul 2008 13:05:29 +0200
parents 5071469303d4
children
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;
}