Skip to content

Commit

Permalink
Fix macro
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github authored Jun 16, 2024
1 parent 8aa96ee commit 02a1579
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/cli/performance_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,13 +229,13 @@ def test_crash_array_in_namespace(tmpdir):
#define ROW A, A, A, A, A, A, A, A,
#define ROW8 ROW ROW ROW ROW ROW ROW ROW ROW
#define ROW64 ROW8 ROW8 ROW8 ROW8 ROW8 ROW8 ROW8 ROW8
#define ROW256 ROW64 ROW64 ROW64 ROW64 ROW64 ROW64 ROW64 ROW64
#define ROW2048 ROW256 ROW256 ROW256 ROW256 ROW256 ROW256 ROW256 ROW256
#define ROW512 ROW64 ROW64 ROW64 ROW64 ROW64 ROW64 ROW64 ROW64
#define ROW4096 ROW512 ROW512 ROW512 ROW512 ROW512 ROW512 ROW512 ROW512
namespace N {
static const char A = 'a';
const char a[] = {
ROW2048 ROW2048 ROW2048 ROW2048
ROW4096 ROW4096 ROW4096 ROW4096
};
}""")
cppcheck([filename]) # should not take more than ~5 seconds


0 comments on commit 02a1579

Please sign in to comment.