diff options
Diffstat (limited to 'tests/include/endian_sys_endian_test.c')
-rw-r--r-- | tests/include/endian_sys_endian_test.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/include/endian_sys_endian_test.c b/tests/include/endian_sys_endian_test.c new file mode 100644 index 000000000000..9c7829c94b1f --- /dev/null +++ b/tests/include/endian_sys_endian_test.c @@ -0,0 +1,13 @@ +/*- + * Copyright (c) 2021 M. Warner Losh <imp@FreeBSD.org> + * + * SPDX-License-Identifier: BSD-2-Clause + */ + +/* + * Make sure this still passes if both endian.h and sys/endian.h are included + * with sys/endian.h first + */ +#include <sys/endian.h> +#include <endian.h> +#include "sys_endian_test.c" |