Skip to content
Snippets Groups Projects
Commit 15acce32 authored by chrg's avatar chrg
Browse files

Work work!

parent 0f54a4c2
No related branches found
No related tags found
No related merge requests found
Showing
with 183 additions and 0 deletions
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
// 0 remove initializer at ("test/cases/small/for.c": line 4) // 0 remove initializer at ("test/cases/small/for.c": line 4)
// 0 reduce to left at ("test/cases/small/for.c": line 4) // 0 reduce to left at ("test/cases/small/for.c": line 4)
// 1 reduce to right at ("test/cases/small/for.c": line 4) // 1 reduce to right at ("test/cases/small/for.c": line 4)
// 0 remove empty declaration at ("test/cases/small/for.c": line 4)
// 0 remove empty compound at ("test/cases/small/for.c": line 4) // 0 remove empty compound at ("test/cases/small/for.c": line 4)
static int a = 0; static int a = 0;
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
// 0 remove initializer at ("test/cases/small/for.c": line 4) // 0 remove initializer at ("test/cases/small/for.c": line 4)
// 0 reduce to left at ("test/cases/small/for.c": line 4) // 0 reduce to left at ("test/cases/small/for.c": line 4)
// 1 reduce to right at ("test/cases/small/for.c": line 4) // 1 reduce to right at ("test/cases/small/for.c": line 4)
// 0 remove empty declaration at ("test/cases/small/for.c": line 4)
// 1 remove empty compound at ("test/cases/small/for.c": line 4) // 1 remove empty compound at ("test/cases/small/for.c": line 4)
static int a = 0; static int a = 0;
......
// 0 inline variable a at ("test/cases/small/for.c": line 1)
// 0 remove static at ("test/cases/small/for.c": line 1)
// 0 remove initializer at ("test/cases/small/for.c": line 4)
// 0 reduce to left at ("test/cases/small/for.c": line 4)
// 1 reduce to right at ("test/cases/small/for.c": line 4)
// 1 remove empty declaration at ("test/cases/small/for.c": line 4)
// 0 remove empty compound at ("test/cases/small/for.c": line 4)
// 0 remove the for loop at ("test/cases/small/for.c": line 4)
static int a = 0;
int main()
{
for (;;)
{
}
}
// 0 inline variable a at ("test/cases/small/for.c": line 1)
// 0 remove static at ("test/cases/small/for.c": line 1)
// 0 remove initializer at ("test/cases/small/for.c": line 4)
// 0 reduce to left at ("test/cases/small/for.c": line 4)
// 1 reduce to right at ("test/cases/small/for.c": line 4)
// 1 remove empty declaration at ("test/cases/small/for.c": line 4)
// 0 remove empty compound at ("test/cases/small/for.c": line 4)
// 1 remove the for loop at ("test/cases/small/for.c": line 4)
// 0 expand compound statment at ("test/cases/small/for.c": line 4)
static int a = 0;
int main()
{
{
}
}
// 0 inline variable a at ("test/cases/small/for.c": line 1)
// 0 remove static at ("test/cases/small/for.c": line 1)
// 0 remove initializer at ("test/cases/small/for.c": line 4)
// 0 reduce to left at ("test/cases/small/for.c": line 4)
// 1 reduce to right at ("test/cases/small/for.c": line 4)
// 1 remove empty declaration at ("test/cases/small/for.c": line 4)
// 0 remove empty compound at ("test/cases/small/for.c": line 4)
// 1 remove the for loop at ("test/cases/small/for.c": line 4)
// 1 expand compound statment at ("test/cases/small/for.c": line 4)
// 0 remove empty compound at ("test/cases/small/for.c": line 3)
static int a = 0;
int main()
{
}
// 0 inline variable a at ("test/cases/small/for.c": line 1)
// 0 remove static at ("test/cases/small/for.c": line 1)
// 0 remove initializer at ("test/cases/small/for.c": line 4)
// 0 reduce to left at ("test/cases/small/for.c": line 4)
// 1 reduce to right at ("test/cases/small/for.c": line 4)
// 1 remove empty declaration at ("test/cases/small/for.c": line 4)
// 0 remove empty compound at ("test/cases/small/for.c": line 4)
// 1 remove the for loop at ("test/cases/small/for.c": line 4)
// 1 expand compound statment at ("test/cases/small/for.c": line 4)
// 1 remove empty compound at ("test/cases/small/for.c": line 3)
static int a = 0;
int main()
{
}
// 0 inline variable a at ("test/cases/small/for.c": line 1)
// 0 remove static at ("test/cases/small/for.c": line 1)
// 0 remove initializer at ("test/cases/small/for.c": line 4)
// 0 reduce to left at ("test/cases/small/for.c": line 4)
// 1 reduce to right at ("test/cases/small/for.c": line 4)
// 1 remove empty declaration at ("test/cases/small/for.c": line 4)
// 1 remove empty compound at ("test/cases/small/for.c": line 4)
// 0 remove the for loop at ("test/cases/small/for.c": line 4)
static int a = 0;
int main()
{
for (;;)
{
}
}
// 0 inline variable a at ("test/cases/small/for.c": line 1)
// 0 remove static at ("test/cases/small/for.c": line 1)
// 0 remove initializer at ("test/cases/small/for.c": line 4)
// 0 reduce to left at ("test/cases/small/for.c": line 4)
// 1 reduce to right at ("test/cases/small/for.c": line 4)
// 1 remove empty declaration at ("test/cases/small/for.c": line 4)
// 1 remove empty compound at ("test/cases/small/for.c": line 4)
// 1 remove the for loop at ("test/cases/small/for.c": line 4)
// 0 expand compound statment at ("test/cases/small/for.c": line 4)
static int a = 0;
int main()
{
{
}
}
// 0 inline variable a at ("test/cases/small/for.c": line 1)
// 0 remove static at ("test/cases/small/for.c": line 1)
// 0 remove initializer at ("test/cases/small/for.c": line 4)
// 0 reduce to left at ("test/cases/small/for.c": line 4)
// 1 reduce to right at ("test/cases/small/for.c": line 4)
// 1 remove empty declaration at ("test/cases/small/for.c": line 4)
// 1 remove empty compound at ("test/cases/small/for.c": line 4)
// 1 remove the for loop at ("test/cases/small/for.c": line 4)
// 1 expand compound statment at ("test/cases/small/for.c": line 4)
// 0 remove empty compound at ("test/cases/small/for.c": line 3)
static int a = 0;
int main()
{
}
CTranslUnit
[ CDeclExt
( CDecl
[ CStorageSpec
( CStatic () )
, CTypeSpec
( CIntType () )
]
[ CDeclarationItem
( CDeclr
( Just
( Ident "a" 97 () )
) [] Nothing [] ()
)
( Just
( CInitExpr
( CConst
( CIntConst 0 () )
) ()
)
) Nothing
] ()
)
, CFDefExt
( CFunDef
[ CTypeSpec
( CIntType () )
]
( CDeclr
( Just
( Ident "main" 232419565 () )
)
[ CFunDeclr
( CFunParamsNew [] False ) [] ()
] Nothing [] ()
) []
( CCompound []
[ CBlockStmt
( CFor
( CForInitializing
( Just
( CAssign CAssignOp
( CVar
( Ident "a" 97 () ) ()
)
( CConst
( CIntConst 0 () )
) ()
)
)
) Nothing Nothing
( CCompound [] [] () ) ()
)
] ()
) ()
)
] ()
// 0 inline variable a at ("test/cases/small/for.c": line 1)
// 0 remove static at ("test/cases/small/for.c": line 1)
// 0 remove initializer at ("test/cases/small/for.c": line 4)
// 0 reduce to left at ("test/cases/small/for.c": line 4)
// 1 reduce to right at ("test/cases/small/for.c": line 4)
// 1 remove empty declaration at ("test/cases/small/for.c": line 4)
// 1 remove empty compound at ("test/cases/small/for.c": line 4)
// 1 remove the for loop at ("test/cases/small/for.c": line 4)
// 1 expand compound statment at ("test/cases/small/for.c": line 4)
// 1 remove empty compound at ("test/cases/small/for.c": line 3)
static int a = 0;
int main()
{
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment