1 // RUN: %clang_cc1 -fsyntax-only -I%S/Inputs %s
3 // As long as none of this crashes, we don't care about comments in
4 // preprocessor directives.
6 #include "annotate-comments-preprocessor.h" /* Aaa. */ /* Bbb. */
7 #include "annotate-comments-preprocessor.h" /* Aaa. */
8 #include "annotate-comments-preprocessor.h" /** Aaa. */
9 #include "annotate-comments-preprocessor.h" /**< Aaa. */
10 #include "annotate-comments-preprocessor.h" // Aaa.
11 #include "annotate-comments-preprocessor.h" /// Aaa.
12 #include "annotate-comments-preprocessor.h" ///< Aaa.
15 #define A1 1 /* Aaa. */
16 #define A2 1 /** Aaa. */
17 #define A3 1 /**< Aaa. */
20 #define A6 1 ///< Aaa.
22 int A
[] = { A0
, A1
, A2
, A3
, A4
, A5
, A6
};
25 int f(int a1
[A1
], int a2
[A2
], int a3
[A3
], int a4
[A4
], int a5
[A5
], int a6
[A6
]);
29 int g(int a1
[A1
], int a2
[A2
], int a3
[A3
], int a4
[A4
], int a5
[A5
], int a6
[A6
]);
32 #pragma once /** Aaa. */