view test/structs7.d @ 105:182b41f56b7f trunk

[svn r109] Fixed support for static array TypeInfo
author lindquist
date Mon, 19 Nov 2007 03:39:46 +0100
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;
}