16 lines · cpp
1//===-- Unittests for bfloat16 addition -----------------------------------===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8 9#include "AddTest.h"10 11#include "src/__support/FPUtil/bfloat16.h"12 13static bfloat16 add_func(bfloat16 x, bfloat16 y) { return x + y; }14 15LIST_ADD_TESTS(bfloat16, bfloat16, add_func)16