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