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