view clang/test/CodeGen/2002-07-31-BadAssert.c @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
line wrap: on
line source

// RUN: %clang_cc1 -emit-llvm %s  -o /dev/null

typedef struct
{
        unsigned char type;        /* Indicates, NORMAL, SUBNORMAL, etc. */
} InternalFPF;


static void SetInternalFPFZero(InternalFPF *dest) {
  dest->type=0;
}

void denormalize(InternalFPF *ptr) {
   SetInternalFPFZero(ptr);
}