1 // RUN: %clang_analyze_cc1 -analyzer-checker=core,alpha.core -analyzer-disable-checker=alpha.core.PointerArithm %s -verify
2 // expected-no-diagnostics
4 typedef int bar_return_t;
8 extern Foo_record_t Foo_record;
10 typedef struct QuxSize QuxSize;
14 } __Request__SetPortalSize_t;
16 double __Foo_READSWAP__double(double*);
18 static __inline__ bar_return_t
19 __Beeble_check__Request__SetPortalSize_t(__Request__SetPortalSize_t *In0P) {
20 if (In0P->Foo.int_rep != Foo_record.int_rep) {
22 int __i__, __C__ = (2);
26 *(&((double *)(&In0P->size))[__i__]) =
27 __Foo_READSWAP__double(&((double *)(&In0P->size))[__i__]);