[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGenCXX / 2010-03-09-AnonAggregate.cpp
blob056b500ce40bb84cbf39134adaa78e02766f19b3
1 // RUN: %clang_cc1 -debug-info-kind=limited -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.
6 class MO {
8 union { struct { union { int BA; } Val; int Offset; } OffsetedInfo; } Contents;
12 class MO m;