Skip to content

Commit

Permalink
Fixed test and enabled it for BSDs.
Browse files Browse the repository at this point in the history
  • Loading branch information
yugr committed Dec 22, 2024
1 parent a548547 commit 2e2f1b7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
/*
* Copyright 2018 Yury Gribov
* Copyright 2018-2024 Yury Gribov
*
* Use of this source code is governed by MIT license that can be
* found in the LICENSE.txt file.
*/

#include <bsd/stdlib.h>
#include <stdlib.h>

char aa[] = { 1, 2, 3 };

// CFLAGS: -lbsd
// REQUIRE: bsd
// CHECK: comparison function is not symmetric
int cmp(const void *pa, const void *pb) {
char a = *(const char *)pa;
Expand Down

0 comments on commit 2e2f1b7

Please sign in to comment.