bolt/deps/llvm-18.1.8/clang/test/Lexer/comment-escape.c

38 lines
961 B
C
Raw Normal View History

2025-02-14 19:21:04 +01:00
// RUN: %clang -fsyntax-only -Wdocumentation %s
// foo \
#define blork 32
// GH62054
/**<*\
/
//expected-warning@-2 {{escaped newline between}} \
//expected-warning@-2 {{line splicing in Doxygen comments are not supported}}
/**<*\
/
//expected-warning@-2 {{escaped newline between}} \
//expected-warning@-2 {{backslash and newline separated by space}} \
//expected-warning@-2 {{line splicing in Doxygen comments are not supported}}
/*<*\
/
//expected-warning@-2 {{escaped newline between}} \
//expected-warning@-2 {{line splicing in Doxygen comments are not supported}}
/*<*\
/
//expected-warning@-2 {{escaped newline between}} \
//expected-warning@-2 {{backslash and newline separated by space}} \
//expected-warning@-2 {{line splicing in Doxygen comments are not supported}}
/\
*<**/
//expected-warning@-2 {{line splicing in Doxygen comments are not supported}}
/\
/<*
//expected-warning@-2 {{line splicing in Doxygen comments are not supported}}