blob: 66a90119a15eb7f00d2d5edcd17226114f715b44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// { 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" }
};
|