Sign in
gnu
/
gcc
/
93ac832f1846e4867aa6537f76f510fab8e3e87d
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp23
/
whitespace-splice1.C
blob: f115ce0de13a8c487b25632ac7c4651bc6c27e8c [
file
] [
log
] [
blame
]
// Tests from P2223R2
// { dg-additional-options -w }
// { dg-do compile { target c++11 } }
constexpr
auto
str
=
"\
"
;
static_assert
(
__builtin_strlen
(
str
)
==
0
,
""
);
constexpr
int
i
=
1
// \
+
42
;
static_assert
(
i
==
1
,
""
);