Remove duplicate struct tests

This commit is contained in:
Nicolas Sauzede 2022-03-15 22:43:43 +01:00 committed by GitHub
parent 90d1f7f199
commit 0ce205ca0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -41,11 +41,6 @@ int main() {
ASSERT(7, ({ struct t {int a,b;}; struct t x; x.a=7; struct t y, *p=&x, *q=&y; *q=*p; y.a; }));
ASSERT(5, ({ struct t {char a, b;} x, y; x.a=5; y=x; y.a; }));
ASSERT(3, ({ struct {int a,b;} x,y; x.a=3; y=x; y.a; }));
ASSERT(7, ({ struct t {int a,b;}; struct t x; x.a=7; struct t y; struct t *z=&y; *z=x; y.a; }));
ASSERT(7, ({ struct t {int a,b;}; struct t x; x.a=7; struct t y, *p=&x, *q=&y; *q=*p; y.a; }));
ASSERT(5, ({ struct t {char a, b;} x, y; x.a=5; y=x; y.a; }));
ASSERT(8, ({ struct t {int a; int b;} x; struct t y; sizeof(y); }));
ASSERT(8, ({ struct t {int a; int b;}; struct t y; sizeof(y); }));