view test/structs7.d @ 190:36044016709a trunk

[svn r206] Fixed some interfaceInfo related issues, closes #44
author lindquist
date Mon, 12 May 2008 14:32: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;
}