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
re PR c++/70808 (Spurious -Wzero-as-null-pointer-constant for nullptr_t)
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
pr82872.c
blob
745d6225585de7f63127f88dea393cf58a892e58
1
/* PR c++/82872 */
2
/* { dg-do compile } */
3
4
#include <stddef.h>
5
6
struct
S
{
int
i
,
a
[
1
]; };
7
8
size_t
foo
(
void
)
9
{
10
return
offsetof
(
struct
S
,
a
[
__PTRDIFF_MAX__
]);
11
}