We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01e0296 commit d6db676Copy full SHA for d6db676
libc/test/src/search/lsearch_test.cpp
@@ -9,10 +9,14 @@
9
#include "src/search/lsearch.h"
10
#include "test/UnitTest/Test.h"
11
12
+namespace {
13
+
14
int compar(const void *a, const void *b) {
15
return *reinterpret_cast<const int *>(a) != *reinterpret_cast<const int *>(b);
16
}
17
18
+} // namespace
19
20
TEST(LlvmLibcLsearchTest, SearchHead) {
21
int list[3] = {1, 2, 3};
22
size_t len = 3;
0 commit comments