summaryrefslogtreecommitdiff
path: root/tests/test_cases/cflags/public/test_use_half3f.cpp
blob: 078e69cd576c53ff348a6a463578a2d51a05cfdf (plain)
1
2
3
4
5
6
7
8
9
10
#include "half3f/half3f.hpp"

#ifdef HALF_PRECISION_DOUBLE
#error should not be defined
#endif

int main() {
  auto result = half3f();
  return result > 1 and result < 2 ? 0 : 1;
}