summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/odr.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2016-10-21 09:15:57 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2016-10-21 09:15:57 +0000
commitaa48572b9d9649f81715bb90ea8cd6b7fa60b924 (patch)
treed0e752009f38a7741f5c30fae3b26eae71d996fe /clang/test/Modules/odr.cpp
parent41189656ed5ef78c8ad507444b39e2dd2c013762 (diff)
downloadbcm5719-llvm-aa48572b9d9649f81715bb90ea8cd6b7fa60b924.tar.gz
bcm5719-llvm-aa48572b9d9649f81715bb90ea8cd6b7fa60b924.zip
[Support] Fix AlignOf test on i386-linux.
On i386 alignof(double) = 8 is not the same as alignof(struct { double }) = 4. This used to be not an issue because the old implementation always measured alignment inside of structs. Wrap a dummy struct around the test to avoid this issue. llvm-svn: 284812
Diffstat (limited to 'clang/test/Modules/odr.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud