blob: 66a90119a15eb7f00d2d5edcd17226114f715b44 [file] [log] [blame]
// { dg-do compile { target c++11 } }
// { dg-options "-fabi-version=0 -Wabi=8" }
struct A
{
decltype(nullptr) n;
decltype(nullptr) n2;
};
struct B
{
void *p;
decltype(nullptr) n;
};
struct C
{
char c;
decltype(nullptr) n; // { dg-warning "alignment" }
};