add another testcase

llvm-svn: 48881
This commit is contained in:
Devang Patel 2008-03-27 17:13:55 +00:00
parent abb139c3f8
commit e2337ecf76
1 changed files with 13 additions and 0 deletions

View File

@ -3,3 +3,16 @@
struct X { long double b; unsigned char c; double __attribute__((packed)) d; };
struct X x = { 3.0L, 5, 3.0 };
struct S2504 {
int e:17;
__attribute__((packed)) unsigned long long int f;
} ;
int fails;
extern struct S2504 s2504;
void check2504va (int z) {
struct S2504 arg, *p;
long long int i = 0;
arg.f = i;
}