view test/structs7.d @ 194:8ee2c46ff938 trunk

[svn r210] Fixed: last commit was broken.
author lindquist
date Mon, 12 May 2008 18:48:09 +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;
}