aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath/lib
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2025-08-06 10:44:09 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2025-08-06 10:44:09 +0200
commit43472f2cc0ef6c702c649947d379f334a4262596 (patch)
tree8d12614d087b0096b817ddc03a94f5194d62b498 /libjava/classpath/lib
parentf1ab4c518c72d7981edf910b1bd4ccf7970e08bb (diff)
downloadgcc-43472f2cc0ef6c702c649947d379f334a4262596.zip
gcc-43472f2cc0ef6c702c649947d379f334a4262596.tar.gz
gcc-43472f2cc0ef6c702c649947d379f334a4262596.tar.bz2
c++: Add test for vt/ff in line comments
P2843R3 dropped the "If there is a form-feed or a vertical-tab character in such a comment, only whitespace characters shall appear between it and the new-line that terminates the comment; no diagnostic is required." sentence from [lex.comment]. AFAIK we've never diagnosed nor checked for that and C23 doesn't have anything like that, so the following testcase merely tests that we don't diagnose anything on it. 2025-08-06 Jakub Jelinek <jakub@redhat.com> PR preprocessor/120778 * c-c++-common/cpp/comment-ff-1.c: New test. * c-c++-common/cpp/comment-vtab-1.c: New test.
Diffstat (limited to 'libjava/classpath/lib')
0 files changed, 0 insertions, 0 deletions