Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
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
,
""
);