\documentclass{article}
\usepackage{url}
\usepackage{fvextra}
\usepackage{shortvrb}
\begin{document}

Lorem ipsum dolor sit amet, consectetur adipisci elit, sed eiusmod
\(0 = 1\) tempor incidunt ut $a^{2} + b^{2} = c^{2}$ labore et dolore
magna aliqua.  Ut enim ad minim veniam, quis nostrum exercitationem
ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi
consequatur.

\begin{tabular}{| l | l | l | l |}
  Lorem ipsum dolor sit amet, consectetur adipisci & Lorem ipsum dolor sit amet, consectetur adipisci & Lorem ipsum dolor sit amet, consectetur adipisci & Lorem ipsum dolor sit amet, consectetur adipisci
\end{tabular}

% Test for unambiguousness of macros starting a paragraph.  E.g.
% caption vs. captionsetup
Lorem ipsum dolor sit amet, consectetur adipisci, lorem ipsum dolor
\captionsetup{key=val} sit amet, consectetur adipisci

Lorem ipsum dolor sit amet, consectetur adipisci, lorem ipsum dolor
\caption{key=val}
sit amet, consectetur adipisci

% par vs. parencite
Lorem ipsum dolor sit amet, consectetur adipisci, lorem ipsum dolor
\parencite{key} sit amet, consectetur adipisci

Lorem ipsum dolor sit amet, consectetur adipisci, lorem ipsum dolor
\par
sit amet, consectetur adipisci

% bug#48937-1 "\% %" should be considered as comment
Donec vehicula augue eu neque.  Pellentesque habitant morbi tristique
senectus et netus et malesuada fames ac turpis egestas.
35\% % FIXME check this number
Mauris ut leo.  Cras viverra metus rhoncus sem.  Nulla et lectus
vestibulum urna fringilla ultrices.

% bug#48937-2 "\%%" should be considered as comment
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.  Ut purus
elit, vestibulum ut, placerat ac, adipiscing vitae, felis.  Curabitur
dictum gravida mauris.  Nam arcu libero, nonummy eget, consectetuer
id, vulputate a, magna.  Donec vehicula augue eu neque.  Pellentesque
habitant morbi tristique senectus et netus et malesuada fames ac
turpis egestas. 35\%% FIXME check this number
Mauris ut leo.  Cras viverra metus rhoncus sem.  Nulla et lectus
vestibulum urna fringilla ultrices.

% bug#51762-1 "\ %" should be considered as comment
$$ \fundefline p{A \times B}{A}{(x,y)}{x}\ %%
\et\ \fundefline q{A \times B}{B}{(x,y)}{y}\ %%
\text{les projections canoniques}\ .$$

% bug#51762-2 another form of code comment
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec
hendrerit tempor tellus. Donec pretium posuere tellus. Proin quam
nisl, tincidunt et, \\% This is a code comment.
mattis eget, convallis nec, purus.

% bug#51762-3 "%" in \verb should not introduce code comment
Cum sociis natoque penatibus et magnis \verb|a%b| dis parturient
montes, nascetur ridiculus mus. Nulla posuere. Donec vitae
dolor. Nullam tristique diam non turpis.  Cras placerat accumsan
nulla. Nullam rutrum. Nam vestibulum accumsan nisl.

% bug#51762-4 "\par" before code comment shouldn't be skipped.
Mauris ac felis vel velit tristique imperdiet.  Vestibulum convallis,
lorem a tempus semper, dui dui euismod elit, vitae placerat urna
tortor vitae lacus.\par
Fusce sagittis, libero non molestie mollis, magna orci ultrices dolor,
at vulputate neque nulla lacinia eros.  Aliquam posuere.  Cum sociis
natoque penatibus et magnis dis parturient montes, nascetur ridiculus
mus.%

% bug#51762-5 "\\" before code comment shouldn't be skipped.
Mauris ac felis vel velit tristique imperdiet.  Vestibulum convallis,
lorem a
tempus semper, dui dui euismod elit, vitae placerat urna tortor vitae lacus.\\
Fusce sagittis, libero non molestie mollis, magna orci ultrices dolor,
at vulputate neque nulla lacinia eros.  Aliquam posuere.  Cum sociis
natoque penatibus et magnis dis parturient montes, nascetur ridiculus
mus.%

% bug#56160-1 Line break should be suppressed inside \verb|...|.
Lorem ipsum dolor sit amet, consectetur adipiscing elit,
\verb|sed do|eiusmod tempor

% bug#56160-2 Line break should be suppressed inside shortcuts defined
% in `LaTeX-shortvrb-chars'.  The variable itself is let-bound to
% '(?\") in the function `LaTeX-filling' in latex-test.el.
Lorem ipsum dolor sit amet, consectetur adipiscing elit,
"sed do"eiusmod tempor

% bug#61400 Various verb-like commands should allow line break at just
% before them.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec
\path{bar}
% bug#61400
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec
\path|bar|
% bug#61400
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec
\Verb{bar}
% bug#61400
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec
\Verb|bar|
% bug#61400
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec
\verb|bar|

\end{document}

%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
