1// RUN: %clang_cc1 -g -S -o %t %s
2// PR: 6554
3// More then one anonymous aggregates on one line creates chaos when MDNode uniquness is
4// combined with RAUW operation.
5// This test case causes crashes if malloc is configured to trip buffer overruns.
6class MO {
7
8  union {       struct {       union {    int BA;       } Val;       int Offset;     } OffsetedInfo;   } Contents;
9
10};
11
12class MO m;
13