view test/structs7.d @ 191:2900754a6989 trunk

[svn r207] Fixed: the runtime support didn't handle string switch.
author lindquist
date Mon, 12 May 2008 14:58:55 +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;
}