repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
abi
/
nullptr-align2.C
blob
66a90119a15eb7f00d2d5edcd17226114f715b44
1
// { dg-do compile { target c++11 } }
2
// { dg-options "-fabi-version=0 -Wabi=8" }
3
4
struct A
5
{
6
decltype(nullptr) n;
7
decltype(nullptr) n2;
8
};
9
10
struct B
11
{
12
void *p;
13
decltype(nullptr) n;
14
};
15
16
struct C
17
{
18
char c;
19
decltype(nullptr) n; // { dg-warning "alignment" }
20
};