Be careful about comdat boundary in ICF (PR ipa/82352).
[official-gcc.git] / gcc / testsuite / g++.dg / abi / nullptr-align2.C
blob66a90119a15eb7f00d2d5edcd17226114f715b44
1 // { dg-do compile { target c++11 } }
2 // { dg-options "-fabi-version=0 -Wabi=8" }
4 struct A
6   decltype(nullptr) n;
7   decltype(nullptr) n2;
8 };
10 struct B
12   void *p;
13   decltype(nullptr) n;
16 struct C
18   char c;
19   decltype(nullptr) n;          // { dg-warning "alignment" }