Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
DRs
/
dr188.C
blob: f29a9eba1c92a22becaa4c5ee4b56b06147f2c96 [
file
] [
log
] [
blame
]
// DR 188
// { dg-do compile { target c++11 } }
// From [diff.expr]p5.
char
arr
[
100
];
// Yields 100 in C++ and sizeof(char*) in C.
static_assert
(
sizeof
(
0
,
arr
)
==
100
,
""
);