mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
23 lines
527 B
Java
23 lines
527 B
Java
/**
|
|
* A JavaDoc comment
|
|
* with multiple lines.
|
|
*/
|
|
class Test {
|
|
/** A JavaDoc comment with a single line. */
|
|
void m() {
|
|
// a single-line comment
|
|
// another single-line comment
|
|
}
|
|
|
|
/* A block comment
|
|
* with multiple lines.
|
|
*/
|
|
|
|
/* A block comment with a single line. */
|
|
|
|
// an end-of-line comment with a spurious trailing comment marker */
|
|
// an end-of-line comment with trailing whitespace
|
|
//an end-of-line comment without a leading space
|
|
void test() {} // an end-of-line comment with preceding code
|
|
}
|