Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Lexer / comment-escape.c
blob2036055137557002f6d3afbeab8c672eaa70db16
1 // RUN: %clang -fsyntax-only -Wdocumentation %s
2 // foo \
4 #define blork 32
6 // GH62054
8 /**<*\
10 //expected-warning@-2 {{escaped newline between}} \
11 //expected-warning@-2 {{line splicing in Doxygen comments are not supported}}
13 /**<*\
15 //expected-warning@-2 {{escaped newline between}} \
16 //expected-warning@-2 {{backslash and newline separated by space}} \
17 //expected-warning@-2 {{line splicing in Doxygen comments are not supported}}
20 /*<*\
22 //expected-warning@-2 {{escaped newline between}} \
23 //expected-warning@-2 {{line splicing in Doxygen comments are not supported}}
25 /*<*\
27 //expected-warning@-2 {{escaped newline between}} \
28 //expected-warning@-2 {{backslash and newline separated by space}} \
29 //expected-warning@-2 {{line splicing in Doxygen comments are not supported}}
32 *<**/
33 //expected-warning@-2 {{line splicing in Doxygen comments are not supported}}
36 /<*
37 //expected-warning@-2 {{line splicing in Doxygen comments are not supported}}