1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 %s -emit-llvm -o - 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambuc struct X { long double b; unsigned char c; double __attribute__((packed)) d; }; 4*f4a2713aSLionel Sambuc struct X x = { 3.0L, 5, 3.0 }; 5*f4a2713aSLionel Sambuc 6*f4a2713aSLionel Sambuc 7*f4a2713aSLionel Sambuc struct S2504 { 8*f4a2713aSLionel Sambuc int e:17; 9*f4a2713aSLionel Sambuc __attribute__((packed)) unsigned long long int f; 10*f4a2713aSLionel Sambuc } ; 11*f4a2713aSLionel Sambuc int fails; 12*f4a2713aSLionel Sambuc extern struct S2504 s2504; check2504va(int z)13*f4a2713aSLionel Sambucvoid check2504va (int z) { 14*f4a2713aSLionel Sambuc struct S2504 arg, *p; 15*f4a2713aSLionel Sambuc long long int i = 0; 16*f4a2713aSLionel Sambuc arg.f = i; 17*f4a2713aSLionel Sambuc } 18*f4a2713aSLionel Sambuc 19