llvm/libc/cmake/modules/compiler_features/check_float16.cpp

#include "include/llvm-libc-macros/float16-macros.h"

#ifndef LIBC_TYPES_HAS_FLOAT16
#error unsupported
#endif