13 lines
521 B
C++
13 lines
521 B
C++
|
|
// SPDX-License-Identifier: LGPL-3.0-only
|
||
|
|
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||
|
|
|
||
|
|
// Fixture with deliberate violations at fixed line numbers —
|
||
|
|
// tests/Lint/main.cpp asserts on these exact lines. Do not reflow.
|
||
|
|
|
||
|
|
// MARKER inside a comment: must be invisible to CommentStripped() (line 7)
|
||
|
|
int DirtyTab() {
|
||
|
|
return 1; // deliberate tab indent (line 9)
|
||
|
|
}
|
||
|
|
|
||
|
|
const char* dirtyString = "MARKER inside a string literal (line 12)";
|
||
|
|
int MARKER_in_code = 13; // identifier survives CommentStripped() (line 13)
|