aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/compilable/test16225.d
blob: 6600842b7699592cfaeb12d5a32ac6163ada5736 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// REQUIRED_ARGS: -O -m64
// PERMUTE_ARGS:

// https://issues.dlang.org/show_bug.cgi?id=16225

struct C
{
    hash_t foo( )
    {
        int y;
        return ((cast(ubyte*)&y)[1]);
    }
}