blob: 99883d82636e36408abeff4d800a3787fd700f18 [file] [log] [blame]
Devang Patel7573f8b2010-03-09 21:32:27 +00001// 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;