1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -emit-llvm %s -o /dev/null 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambuc typedef struct 4*f4a2713aSLionel Sambuc { 5*f4a2713aSLionel Sambuc unsigned char type; /* Indicates, NORMAL, SUBNORMAL, etc. */ 6*f4a2713aSLionel Sambuc } InternalFPF; 7*f4a2713aSLionel Sambuc 8*f4a2713aSLionel Sambuc SetInternalFPFZero(InternalFPF * dest)9*f4a2713aSLionel Sambucstatic void SetInternalFPFZero(InternalFPF *dest) { 10*f4a2713aSLionel Sambuc dest->type=0; 11*f4a2713aSLionel Sambuc } 12*f4a2713aSLionel Sambuc denormalize(InternalFPF * ptr)13*f4a2713aSLionel Sambucvoid denormalize(InternalFPF *ptr) { 14*f4a2713aSLionel Sambuc SetInternalFPFZero(ptr); 15*f4a2713aSLionel Sambuc } 16*f4a2713aSLionel Sambuc 17