From 00bd24aafe85f0e72dd0c656345d9e5d4aa45538 Mon Sep 17 00:00:00 2001 From: Andreas Krug <153394595+Andreas-Krug@users.noreply.github.com> Date: Sat, 18 Jul 2026 08:20:40 +0200 Subject: [PATCH] [ub:expr.static.cast.does.not.contain.original.member] Adjust linebreak in example Comment breaks onto a new line --- source/ub.tex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/ub.tex b/source/ub.tex index b58c959895..1bb81594fd 100644 --- a/source/ub.tex +++ b/source/ub.tex @@ -977,7 +977,8 @@ int main() { char D::*p1 = &D::c; - char B::*p2 = static_cast(p1); // undefined behavior, \tcode{B} does not contain the original member \tcode{c} + char B::*p2 = static_cast(p1); // undefined behavior, \tcode{B} does not contain the + // original member \tcode{c} } \end{codeblock} \end{example}