blob: c7087b2eeab565f8e4297c031f34e02af1299835 [file] [log] [blame]
# { dg-options "-fstropping=upper" } #
# Selecting a struct results in a sub-value. #
BEGIN MODE PERSON = STRUCT (INT age, REAL income, INT num children);
PERSON person = (44, 999.99, 0);
ASSERT (age OF person = 44);
ASSERT (num children OF person = 0)
END