Add two more tests.

llvm-svn: 77330
This commit is contained in:
Anders Carlsson 2009-07-28 17:14:18 +00:00
parent e82862e24e
commit 32d105d8d4
1 changed files with 13 additions and 0 deletions

View File

@ -29,3 +29,16 @@ struct D : C {
};
SA(3, sizeof(D) == 8);
struct __attribute__((packed)) E {
char b;
int a;
};
SA(4, sizeof(E) == 5);
struct __attribute__((packed)) F : E {
char d;
};
SA(5, sizeof(F) == 6);