- Timestamp:
- Jun 26, 2015, 4:00:26 PM (11 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- 0df292b, e0ff3e6
- Parents:
- eb50842 (diff), 1869adf (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- src/Tests
- Files:
-
- 368 added
- 123 deleted
- 32 moved
-
Abstype.c (added)
-
Array.c (added)
-
AsmName.c (moved) (moved from src/Tests/Syntax/AsmName.c )
-
Attributes.c (added)
-
Cast.c (added)
-
CastError.c (added)
-
CharStringConstants.c (moved) (moved from src/Tests/Syntax/CharStringConstants.c )
-
CommentMisc.c (moved) (moved from src/Tests/Syntax/CommentMisc.c )
-
Constant0-1.c (moved) (moved from src/Tests/SynTree/Constant0-1.c ) (3 diffs)
-
Context.c (added)
-
DeclarationErrors.c (moved) (moved from src/Tests/SynTree/DeclarationErrors.c ) (1 diff)
-
DeclarationSpecifier.c (moved) (moved from src/Tests/Parser/DeclarationSpecifier.c ) (1 diff)
-
Enum.c (added)
-
Exception.c (moved) (moved from src/Tests/Syntax/Exception.c )
-
Expect-a/Abstype.txt (added)
-
Expect-a/Array.txt (added)
-
Expect-a/AsmName.txt (added)
-
Expect-a/Attributes.txt (added)
-
Expect-a/Cast.txt (added)
-
Expect-a/CastError.txt (added)
-
Expect-a/CharStringConstants.txt (added)
-
Expect-a/CommentMisc.txt (added)
-
Expect-a/Constant0-1.txt (added)
-
Expect-a/Context.txt (added)
-
Expect-a/DeclarationErrors.txt (added)
-
Expect-a/DeclarationSpecifier.txt (added)
-
Expect-a/Enum.txt (added)
-
Expect-a/Exception.txt (added)
-
Expect-a/Expression.txt (added)
-
Expect-a/Forall.txt (added)
-
Expect-a/Function.txt (added)
-
Expect-a/Functions.txt (moved) (moved from src/Tests/SynTree/Expected/Functions.tst ) (12 diffs)
-
Expect-a/GccExtensions.txt (added)
-
Expect-a/IdentFuncDeclarator.txt (added)
-
Expect-a/IdentFuncParamDeclarator.txt (added)
-
Expect-a/InferParam.txt (added)
-
Expect-a/Initialization.txt (added)
-
Expect-a/Initialization2.txt (added)
-
Expect-a/LabelledExit.txt (added)
-
Expect-a/Members.txt (added)
-
Expect-a/Misc.txt (added)
-
Expect-a/MiscError.txt (added)
-
Expect-a/NamedParmArg.txt (added)
-
Expect-a/NumericConstants.txt (added)
-
Expect-a/OccursError.txt (added)
-
Expect-a/Operators.txt (added)
-
Expect-a/Quad.txt (added)
-
Expect-a/Rank2.txt (added)
-
Expect-a/Scope.txt (added)
-
Expect-a/ScopeErrors.txt (added)
-
Expect-a/ShortCircuit.txt (added)
-
Expect-a/Statement.txt (added)
-
Expect-a/StructMember.txt (added)
-
Expect-a/Subrange.txt (added)
-
Expect-a/Switch.txt (added)
-
Expect-a/Tuple.txt (added)
-
Expect-a/TypeGenerator.txt (added)
-
Expect-a/Typedef.txt (added)
-
Expect-a/TypedefDeclarator.txt (added)
-
Expect-a/TypedefParamDeclarator.txt (added)
-
Expect-a/Typeof.txt (added)
-
Expect-a/VariableDeclarator.txt (added)
-
Expect-a/gcc900407-1.txt (added)
-
Expect-a/gcc900516-1.txt (added)
-
Expect-a/gcc920301-1.txt (added)
-
Expect-a/gcc920409-1.txt (added)
-
Expect-a/gcc920409-2.txt (added)
-
Expect-a/gcc920410-2.txt (added)
-
Expect-a/gcc920501-1.txt (added)
-
Expect-a/gcc920501-11.txt (added)
-
Expect-a/gcc920501-19.txt (added)
-
Expect-e/Abstype.txt (added)
-
Expect-e/Array.txt (added)
-
Expect-e/AsmName.txt (added)
-
Expect-e/Attributes.txt (added)
-
Expect-e/Cast.txt (added)
-
Expect-e/CastError.txt (added)
-
Expect-e/CharStringConstants.txt (added)
-
Expect-e/CommentMisc.txt (added)
-
Expect-e/Constant0-1.txt (added)
-
Expect-e/Context.txt (added)
-
Expect-e/DeclarationErrors.txt (added)
-
Expect-e/DeclarationSpecifier.txt (added)
-
Expect-e/Enum.txt (added)
-
Expect-e/Exception.txt (added)
-
Expect-e/Expression.txt (added)
-
Expect-e/Forall.txt (added)
-
Expect-e/Function.txt (added)
-
Expect-e/Functions.txt (added)
-
Expect-e/GccExtensions.txt (added)
-
Expect-e/IdentFuncDeclarator.txt (added)
-
Expect-e/IdentFuncParamDeclarator.txt (added)
-
Expect-e/InferParam.txt (added)
-
Expect-e/Initialization.txt (added)
-
Expect-e/Initialization2.txt (added)
-
Expect-e/LabelledExit.txt (added)
-
Expect-e/Members.txt (added)
-
Expect-e/Misc.txt (added)
-
Expect-e/MiscError.txt (moved) (moved from src/Tests/ResolvExpr/Expected/MiscError.tst ) (6 diffs)
-
Expect-e/NamedParmArg.txt (added)
-
Expect-e/NumericConstants.txt (added)
-
Expect-e/OccursError.txt (moved) (moved from src/Tests/ResolvExpr/Expected/OccursError.tst ) (1 diff)
-
Expect-e/Operators.txt (added)
-
Expect-e/Quad.txt (added)
-
Expect-e/Rank2.txt (added)
-
Expect-e/Scope.txt (added)
-
Expect-e/ScopeErrors.txt (added)
-
Expect-e/ShortCircuit.txt (added)
-
Expect-e/Statement.txt (added)
-
Expect-e/StructMember.txt (added)
-
Expect-e/Subrange.txt (added)
-
Expect-e/Switch.txt (added)
-
Expect-e/Tuple.txt (added)
-
Expect-e/TypeGenerator.txt (added)
-
Expect-e/Typedef.txt (added)
-
Expect-e/TypedefDeclarator.txt (added)
-
Expect-e/TypedefParamDeclarator.txt (added)
-
Expect-e/Typeof.txt (added)
-
Expect-e/VariableDeclarator.txt (added)
-
Expect-e/gcc900407-1.txt (added)
-
Expect-e/gcc900516-1.txt (added)
-
Expect-e/gcc920301-1.txt (added)
-
Expect-e/gcc920409-1.txt (added)
-
Expect-e/gcc920409-2.txt (added)
-
Expect-e/gcc920410-2.txt (added)
-
Expect-e/gcc920501-1.txt (added)
-
Expect-e/gcc920501-11.txt (added)
-
Expect-e/gcc920501-19.txt (added)
-
Expect-f/Abstype.txt (added)
-
Expect-f/Array.txt (added)
-
Expect-f/AsmName.txt (added)
-
Expect-f/Attributes.txt (added)
-
Expect-f/Cast.txt (added)
-
Expect-f/CastError.txt (added)
-
Expect-f/CharStringConstants.txt (added)
-
Expect-f/CommentMisc.txt (added)
-
Expect-f/Constant0-1.txt (added)
-
Expect-f/Context.txt (added)
-
Expect-f/DeclarationErrors.txt (added)
-
Expect-f/DeclarationSpecifier.txt (added)
-
Expect-f/Enum.txt (added)
-
Expect-f/Exception.txt (added)
-
Expect-f/Expression.txt (added)
-
Expect-f/Forall.txt (added)
-
Expect-f/Function.txt (added)
-
Expect-f/Functions.txt (added)
-
Expect-f/GccExtensions.txt (added)
-
Expect-f/IdentFuncDeclarator.txt (added)
-
Expect-f/IdentFuncParamDeclarator.txt (added)
-
Expect-f/InferParam.txt (added)
-
Expect-f/Initialization.txt (added)
-
Expect-f/Initialization2.txt (added)
-
Expect-f/LabelledExit.txt (added)
-
Expect-f/Members.txt (added)
-
Expect-f/Misc.txt (added)
-
Expect-f/MiscError.txt (added)
-
Expect-f/NamedParmArg.txt (added)
-
Expect-f/NumericConstants.txt (added)
-
Expect-f/OccursError.txt (added)
-
Expect-f/Operators.txt (added)
-
Expect-f/Quad.txt (added)
-
Expect-f/Rank2.txt (added)
-
Expect-f/Scope.txt (added)
-
Expect-f/ScopeErrors.txt (added)
-
Expect-f/ShortCircuit.txt (added)
-
Expect-f/Statement.txt (added)
-
Expect-f/StructMember.txt (added)
-
Expect-f/Subrange.txt (added)
-
Expect-f/Switch.txt (added)
-
Expect-f/Tuple.txt (added)
-
Expect-f/TypeGenerator.txt (added)
-
Expect-f/Typedef.txt (added)
-
Expect-f/TypedefDeclarator.txt (added)
-
Expect-f/TypedefParamDeclarator.txt (added)
-
Expect-f/Typeof.txt (added)
-
Expect-f/VariableDeclarator.txt (added)
-
Expect-f/gcc900407-1.txt (added)
-
Expect-f/gcc900516-1.txt (added)
-
Expect-f/gcc920301-1.txt (added)
-
Expect-f/gcc920409-1.txt (added)
-
Expect-f/gcc920409-2.txt (added)
-
Expect-f/gcc920410-2.txt (added)
-
Expect-f/gcc920501-1.txt (added)
-
Expect-f/gcc920501-11.txt (added)
-
Expect-f/gcc920501-19.txt (added)
-
Expect-r/Abstype.txt (added)
-
Expect-r/Array.txt (added)
-
Expect-r/AsmName.txt (added)
-
Expect-r/Attributes.txt (added)
-
Expect-r/Cast.txt (added)
-
Expect-r/CastError.txt (added)
-
Expect-r/CharStringConstants.txt (added)
-
Expect-r/CommentMisc.txt (added)
-
Expect-r/Constant0-1.txt (added)
-
Expect-r/Context.txt (added)
-
Expect-r/DeclarationErrors.txt (added)
-
Expect-r/DeclarationSpecifier.txt (added)
-
Expect-r/Enum.txt (added)
-
Expect-r/Exception.txt (added)
-
Expect-r/Expression.txt (added)
-
Expect-r/Forall.txt (added)
-
Expect-r/Function.txt (added)
-
Expect-r/Functions.txt (added)
-
Expect-r/GccExtensions.txt (added)
-
Expect-r/IdentFuncDeclarator.txt (added)
-
Expect-r/IdentFuncParamDeclarator.txt (added)
-
Expect-r/InferParam.txt (added)
-
Expect-r/Initialization.txt (added)
-
Expect-r/Initialization2.txt (added)
-
Expect-r/LabelledExit.txt (added)
-
Expect-r/Members.txt (added)
-
Expect-r/Misc.txt (added)
-
Expect-r/MiscError.txt (added)
-
Expect-r/NamedParmArg.txt (added)
-
Expect-r/NumericConstants.txt (added)
-
Expect-r/OccursError.txt (added)
-
Expect-r/Operators.txt (added)
-
Expect-r/Quad.txt (added)
-
Expect-r/Rank2.txt (added)
-
Expect-r/Scope.txt (added)
-
Expect-r/ScopeErrors.txt (added)
-
Expect-r/ShortCircuit.txt (added)
-
Expect-r/Statement.txt (added)
-
Expect-r/StructMember.txt (added)
-
Expect-r/Subrange.txt (added)
-
Expect-r/Switch.txt (added)
-
Expect-r/Tuple.txt (added)
-
Expect-r/TypeGenerator.txt (added)
-
Expect-r/Typedef.txt (added)
-
Expect-r/TypedefDeclarator.txt (added)
-
Expect-r/TypedefParamDeclarator.txt (added)
-
Expect-r/Typeof.txt (added)
-
Expect-r/VariableDeclarator.txt (added)
-
Expect-r/gcc900407-1.txt (added)
-
Expect-r/gcc900516-1.txt (added)
-
Expect-r/gcc920301-1.txt (added)
-
Expect-r/gcc920409-1.txt (added)
-
Expect-r/gcc920409-2.txt (added)
-
Expect-r/gcc920410-2.txt (added)
-
Expect-r/gcc920501-1.txt (added)
-
Expect-r/gcc920501-11.txt (added)
-
Expect-r/gcc920501-19.txt (added)
-
Expect-s/Abstype.txt (added)
-
Expect-s/Array.txt (moved) (moved from src/Tests/SynTree/Expected-SymTab/Array.tst ) (4 diffs)
-
Expect-s/AsmName.txt (added)
-
Expect-s/Attributes.txt (added)
-
Expect-s/Cast.txt (added)
-
Expect-s/CastError.txt (added)
-
Expect-s/CharStringConstants.txt (added)
-
Expect-s/CommentMisc.txt (added)
-
Expect-s/Constant0-1.txt (added)
-
Expect-s/Context.txt (moved) (moved from src/Tests/SynTree/Expected-SymTab/Context.tst ) (1 diff)
-
Expect-s/DeclarationErrors.txt (added)
-
Expect-s/DeclarationSpecifier.txt (added)
-
Expect-s/Enum.txt (moved) (moved from src/Tests/SynTree/Expected-SymTab/Enum.tst ) (1 diff)
-
Expect-s/Exception.txt (added)
-
Expect-s/Expression.txt (added)
-
Expect-s/Forall.txt (moved) (moved from src/Tests/SynTree/Expected-SymTab/Forall.tst ) (7 diffs)
-
Expect-s/Function.txt (added)
-
Expect-s/Functions.txt (added)
-
Expect-s/GccExtensions.txt (added)
-
Expect-s/IdentFuncDeclarator.txt (added)
-
Expect-s/IdentFuncParamDeclarator.txt (added)
-
Expect-s/InferParam.txt (added)
-
Expect-s/Initialization.txt (added)
-
Expect-s/Initialization2.txt (added)
-
Expect-s/LabelledExit.txt (added)
-
Expect-s/Members.txt (added)
-
Expect-s/Misc.txt (added)
-
Expect-s/MiscError.txt (added)
-
Expect-s/NamedParmArg.txt (added)
-
Expect-s/NumericConstants.txt (added)
-
Expect-s/OccursError.txt (added)
-
Expect-s/Operators.txt (added)
-
Expect-s/Quad.txt (added)
-
Expect-s/Rank2.txt (added)
-
Expect-s/Scope.txt (moved) (moved from src/Tests/SynTree/Expected-SymTab/Scope.tst ) (6 diffs)
-
Expect-s/ScopeErrors.txt (moved) (moved from src/Tests/SynTree/Expected-SymTab/ScopeErrors.tst ) (4 diffs)
-
Expect-s/ShortCircuit.txt (added)
-
Expect-s/Statement.txt (added)
-
Expect-s/StructMember.txt (added)
-
Expect-s/Subrange.txt (added)
-
Expect-s/Switch.txt (added)
-
Expect-s/Tuple.txt (moved) (moved from src/Tests/SynTree/Expected-SymTab/Tuple.tst ) (5 diffs)
-
Expect-s/TypeGenerator.txt (added)
-
Expect-s/Typedef.txt (added)
-
Expect-s/TypedefDeclarator.txt (added)
-
Expect-s/TypedefParamDeclarator.txt (added)
-
Expect-s/Typeof.txt (added)
-
Expect-s/VariableDeclarator.txt (added)
-
Expect-s/gcc900407-1.txt (added)
-
Expect-s/gcc900516-1.txt (added)
-
Expect-s/gcc920301-1.txt (added)
-
Expect-s/gcc920409-1.txt (added)
-
Expect-s/gcc920409-2.txt (added)
-
Expect-s/gcc920410-2.txt (added)
-
Expect-s/gcc920501-1.txt (added)
-
Expect-s/gcc920501-11.txt (added)
-
Expect-s/gcc920501-19.txt (added)
-
Expect-v/Abstype.txt (added)
-
Expect-v/Array.txt (added)
-
Expect-v/AsmName.txt (added)
-
Expect-v/Attributes.txt (added)
-
Expect-v/Cast.txt (added)
-
Expect-v/CastError.txt (added)
-
Expect-v/CharStringConstants.txt (added)
-
Expect-v/CommentMisc.txt (added)
-
Expect-v/Constant0-1.txt (added)
-
Expect-v/Context.txt (added)
-
Expect-v/DeclarationErrors.txt (added)
-
Expect-v/DeclarationSpecifier.txt (added)
-
Expect-v/Enum.txt (added)
-
Expect-v/Exception.txt (added)
-
Expect-v/Expression.txt (added)
-
Expect-v/Forall.txt (added)
-
Expect-v/Function.txt (added)
-
Expect-v/Functions.txt (added)
-
Expect-v/GccExtensions.txt (added)
-
Expect-v/IdentFuncDeclarator.txt (added)
-
Expect-v/IdentFuncParamDeclarator.txt (added)
-
Expect-v/InferParam.txt (added)
-
Expect-v/Initialization.txt (added)
-
Expect-v/Initialization2.txt (added)
-
Expect-v/LabelledExit.txt (added)
-
Expect-v/Members.txt (added)
-
Expect-v/Misc.txt (added)
-
Expect-v/MiscError.txt (added)
-
Expect-v/NamedParmArg.txt (added)
-
Expect-v/NumericConstants.txt (added)
-
Expect-v/OccursError.txt (added)
-
Expect-v/Operators.txt (added)
-
Expect-v/Quad.txt (added)
-
Expect-v/Rank2.txt (added)
-
Expect-v/Scope.txt (added)
-
Expect-v/ScopeErrors.txt (added)
-
Expect-v/ShortCircuit.txt (added)
-
Expect-v/Statement.txt (added)
-
Expect-v/StructMember.txt (added)
-
Expect-v/Subrange.txt (added)
-
Expect-v/Switch.txt (added)
-
Expect-v/Tuple.txt (added)
-
Expect-v/TypeGenerator.txt (added)
-
Expect-v/Typedef.txt (added)
-
Expect-v/TypedefDeclarator.txt (added)
-
Expect-v/TypedefParamDeclarator.txt (added)
-
Expect-v/Typeof.txt (added)
-
Expect-v/VariableDeclarator.txt (added)
-
Expect-v/gcc900407-1.txt (added)
-
Expect-v/gcc900516-1.txt (added)
-
Expect-v/gcc920301-1.txt (added)
-
Expect-v/gcc920409-1.txt (added)
-
Expect-v/gcc920409-2.txt (added)
-
Expect-v/gcc920410-2.txt (added)
-
Expect-v/gcc920501-1.txt (added)
-
Expect-v/gcc920501-11.txt (added)
-
Expect-v/gcc920501-19.txt (added)
-
Expression.c (moved) (moved from src/Tests/Syntax/Expression.c )
-
Forall.c (added)
-
Function.c (moved) (moved from src/Tests/ResolvExpr/Function.c ) (2 diffs)
-
Functions.c (moved) (moved from src/Tests/Parser/Functions.c ) (4 diffs)
-
GccExtensions.c (moved) (moved from src/Tests/Syntax/GccExtensions.c )
-
IdentFuncDeclarator.c (added)
-
IdentFuncParamDeclarator.c (added)
-
InferParam.c (moved) (moved from src/Tests/ResolvExpr/InferParam.c ) (2 diffs)
-
Initialization.c (added)
-
Initialization2.c (moved) (moved from src/Tests/TupleAssign/Initialization2.c )
-
LabelledExit.c (moved) (moved from src/Tests/Syntax/LabelledExit.c )
-
Makefile (added)
-
Members.c (added)
-
Misc.c (added)
-
MiscError.c (added)
-
NamedParmArg.c (moved) (moved from src/Tests/Syntax/NamedParmArg.c )
-
NumericConstants.c (moved) (moved from src/Tests/Syntax/NumericConstants.c )
-
OccursError.c (added)
-
Operators.c (added)
-
Parser/Array.c (deleted)
-
Parser/Constant0-1.c (deleted)
-
Parser/Expected/Array.tst (deleted)
-
Parser/Expected/Constant0-1.tst (deleted)
-
Parser/Expected/DeclarationSpecifier.tst (deleted)
-
Parser/Expected/Forall.tst (deleted)
-
Parser/Expected/Functions.tst (deleted)
-
Parser/Expected/IdentFuncDeclarator.tst (deleted)
-
Parser/Expected/IdentFuncParamDeclarator.tst (deleted)
-
Parser/Expected/Initialization.tst (deleted)
-
Parser/Expected/Scope.tst (deleted)
-
Parser/Expected/StructMember.tst (deleted)
-
Parser/Expected/Tuple.tst (deleted)
-
Parser/Expected/TypeGenerator.tst (deleted)
-
Parser/Expected/Typedef.tst (deleted)
-
Parser/Expected/TypedefDeclarator.tst (deleted)
-
Parser/Expected/TypedefParamDeclarator.tst (deleted)
-
Parser/Expected/VariableDeclarator.tst (deleted)
-
Parser/Forall.c (deleted)
-
Parser/IdentFuncDeclarator.c (deleted)
-
Parser/IdentFuncParamDeclarator.c (deleted)
-
Parser/Initialization.c (deleted)
-
Parser/Makefile (deleted)
-
Parser/Scope.c (deleted)
-
Parser/StructMember.c (deleted)
-
Parser/Tuple.c (deleted)
-
Parser/TypeGenerator.c (deleted)
-
Parser/Typedef.c (deleted)
-
Parser/TypedefDeclarator.c (deleted)
-
Parser/TypedefParamDeclarator.c (deleted)
-
Parser/VariableDeclarator.c (deleted)
-
Quad.c (added)
-
Rank2.c (added)
-
ResolvExpr/Abstype.c (deleted)
-
ResolvExpr/Attributes.c (deleted)
-
ResolvExpr/Cast.c (deleted)
-
ResolvExpr/CastError.c (deleted)
-
ResolvExpr/Expected/Abstype.tst (deleted)
-
ResolvExpr/Expected/Attributes.tst (deleted)
-
ResolvExpr/Expected/Cast.tst (deleted)
-
ResolvExpr/Expected/CastError.tst (deleted)
-
ResolvExpr/Expected/Forall.tst (deleted)
-
ResolvExpr/Expected/Function.tst (deleted)
-
ResolvExpr/Expected/InferParam.tst (deleted)
-
ResolvExpr/Expected/Members.tst (deleted)
-
ResolvExpr/Expected/Misc.tst (deleted)
-
ResolvExpr/Expected/Operators.tst (deleted)
-
ResolvExpr/Expected/Quad.tst (deleted)
-
ResolvExpr/Expected/Rank2.tst (deleted)
-
ResolvExpr/Expected/ShortCircuit.tst (deleted)
-
ResolvExpr/Expected/Statement.tst (deleted)
-
ResolvExpr/Forall.c (deleted)
-
ResolvExpr/Makefile (deleted)
-
ResolvExpr/Members.c (deleted)
-
ResolvExpr/Misc.c (deleted)
-
ResolvExpr/MiscError.c (deleted)
-
ResolvExpr/OccursError.c (deleted)
-
ResolvExpr/Operators.c (deleted)
-
ResolvExpr/Quad.c (deleted)
-
ResolvExpr/Rank2.c (deleted)
-
ResolvExpr/ShortCircuit.c (deleted)
-
ResolvExpr/Statement.c (deleted)
-
ResolvExpr/make-rules (deleted)
-
ResolvExpr/run-tests.sh (deleted)
-
Scope.c (added)
-
ScopeErrors.c (moved) (moved from src/Tests/SynTree/ScopeErrors.c ) (2 diffs)
-
ShortCircuit.c (added)
-
Statement.c (added)
-
StructMember.c (added)
-
Subrange.c (moved) (moved from src/Tests/Syntax/Subrange.c )
-
Switch.c (moved) (moved from src/Tests/Syntax/Switch.c )
-
SynTree/Array.c (deleted)
-
SynTree/Context.c (deleted)
-
SynTree/DeclarationSpecifier.c (deleted)
-
SynTree/Enum.c (deleted)
-
SynTree/Expected/Array.tst (deleted)
-
SynTree/Expected/Constant0-1.tst (deleted)
-
SynTree/Expected/Context.tst (deleted)
-
SynTree/Expected/DeclarationSpecifier.tst (deleted)
-
SynTree/Expected/Enum.tst (deleted)
-
SynTree/Expected/Forall.tst (deleted)
-
SynTree/Expected/IdentFuncDeclarator.tst (deleted)
-
SynTree/Expected/Initialization.tst (deleted)
-
SynTree/Expected/Scope.tst (deleted)
-
SynTree/Expected/StructMember.tst (deleted)
-
SynTree/Expected/Tuple.tst (deleted)
-
SynTree/Expected/TypeGenerator.tst (deleted)
-
SynTree/Expected/Typedef.tst (deleted)
-
SynTree/Expected/TypedefDeclarator.tst (deleted)
-
SynTree/Expected/TypedefParamDeclarator.tst (deleted)
-
SynTree/Expected/VariableDeclarator.tst (deleted)
-
SynTree/Forall.c (deleted)
-
SynTree/Functions.c (deleted)
-
SynTree/IdentFuncDeclarator.c (deleted)
-
SynTree/IdentFuncParamDeclarator.c (deleted)
-
SynTree/Initialization.c (deleted)
-
SynTree/Makefile (deleted)
-
SynTree/Scope.c (deleted)
-
SynTree/StructMember.c (deleted)
-
SynTree/Tuple.c (deleted)
-
SynTree/TypeGenerator.c (deleted)
-
SynTree/Typedef.c (deleted)
-
SynTree/TypedefDeclarator.c (deleted)
-
SynTree/TypedefParamDeclarator.c (deleted)
-
SynTree/VariableDeclarator.c (deleted)
-
SynTree/make-rules (deleted)
-
SynTree/run-tests.sh (deleted)
-
Syntax/Array.c (deleted)
-
Syntax/Attributes.c (deleted)
-
Syntax/Constant0-1.c (deleted)
-
Syntax/DeclarationSpecifier.c (deleted)
-
Syntax/Forall.c (deleted)
-
Syntax/Functions.c (deleted)
-
Syntax/IdentFuncDeclarator.c (deleted)
-
Syntax/IdentFuncParamDeclarator.c (deleted)
-
Syntax/Initialization.c (deleted)
-
Syntax/Makefile (deleted)
-
Syntax/Scope.c (deleted)
-
Syntax/StructMember.c (deleted)
-
Syntax/Tuple.c (deleted)
-
Syntax/TypeGenerator.c (deleted)
-
Syntax/TypedefDeclarator.c (deleted)
-
Syntax/TypedefParamDeclarator.c (deleted)
-
Tuple.c (added)
-
TypeGenerator.c (added)
-
Typedef.c (moved) (moved from src/Tests/Syntax/Typedef.c ) (3 diffs)
-
TypedefDeclarator.c (added)
-
TypedefParamDeclarator.c (added)
-
Typeof.c (moved) (moved from src/Tests/Syntax/Typeof.c )
-
VariableDeclarator.c (moved) (moved from src/Tests/Syntax/VariableDeclarator.c ) (1 diff)
-
gcc/900407-1.c (deleted)
-
gcc/900516-1.c (deleted)
-
gcc/920301-1.c (deleted)
-
gcc/920409-1.c (deleted)
-
gcc/920409-2.c (deleted)
-
gcc/920410-2.c (deleted)
-
gcc/920501-1.c (deleted)
-
gcc/920501-11.c (deleted)
-
gcc/920501-19.c (deleted)
-
gcc900407-1.c (added)
-
gcc900516-1.c (added)
-
gcc920301-1.c (added)
-
gcc920409-1.c (added)
-
gcc920409-2.c (added)
-
gcc920410-2.c (added)
-
gcc920501-1.c (added)
-
gcc920501-11.c (added)
-
gcc920501-19.c (added)
Legend:
- Unmodified
- Added
- Removed
-
src/Tests/Constant0-1.c
reb50842 r937e51d 11 11 int 0, 1; 12 12 const int 0, 1; 13 int (0), (1); 14 int ((0)), ((1)); 13 15 static const int 0, 1; 14 16 struct { int i; } 0; … … 18 20 // pointer 19 21 20 int 1, * 0; 21 int (1), ((1)), * (0), (* 0), ((* 0)); 22 int * const (0), (* const 0), ((* const 0)); 23 struct { int i; } * 0; 22 int *0, *1; 23 int *(0), *(1); 24 int (*0), (*1); 25 int ((*0)), ((*1)); 26 int * const (0), * const 1; 27 int (* const 0), (* const 1); 28 int ((* const 0)), ((* const 1)); 29 struct { int i; } *0; 24 30 25 31 // Cforall style … … 34 40 static const * int x, 0; 35 41 const * * int x, 0; 42 43 int main() { 44 int 1, * 0; 45 * int x, 0; 46 } -
src/Tests/DeclarationErrors.c
reb50842 r937e51d 4 4 typedef int Int; 5 5 static Int volatile static const x28; // duplicate static 6 7 // Local Variables: // 8 // tab-width: 4 // 9 // End: // -
src/Tests/DeclarationSpecifier.c
reb50842 r937e51d 89 89 static const Int inline volatile f48(); 90 90 91 // Local Variables: // 92 // tab-width: 4 // 93 // End: // -
src/Tests/Expect-a/Functions.txt
reb50842 r937e51d 1 h: afunction1 h: function 2 2 with parameters 3 3 void … … 5 5 void 6 6 with body 7 8 f: a function 7 CompoundStmt 8 9 f: function 9 10 with parameters 10 11 function … … 32 33 signed int 33 34 34 g: afunction35 g: function 35 36 with parameters 36 37 void … … 41 42 signed int 42 43 with body 43 44 f1: a function 45 returning 46 signed int 47 with body 48 49 f2: a function 50 returning 51 signed int 52 with body 53 54 f3: a function 44 CompoundStmt 45 Expression Statement: 46 Applying untyped: 47 Applying untyped: 48 Name: *? 49 ...to: 50 Name: g 51 ...to: 52 53 Expression Statement: 54 Applying untyped: 55 Name: g 56 ...to: 57 58 Expression Statement: 59 Applying untyped: 60 Name: ?=? 61 ...to: 62 Address of: 63 Name: g 64 Name: h 65 66 67 f1: function 68 accepting unspecified arguments 69 returning 70 signed int 71 with body 72 CompoundStmt 73 74 f2: function 75 accepting unspecified arguments 76 returning 77 signed int 78 with body 79 CompoundStmt 80 81 f3: function 82 accepting unspecified arguments 55 83 returning 56 84 pointer to function 57 returning 58 signed int 59 60 with body 61 62 f4: a function 85 accepting unspecified arguments 86 returning 87 signed int 88 89 with body 90 CompoundStmt 91 92 f4: function 93 accepting unspecified arguments 63 94 returning 64 95 pointer to signed int 65 96 with body 66 67 f5: a function 97 CompoundStmt 98 99 f5: function 100 accepting unspecified arguments 68 101 returning 69 102 pointer to function 70 returning 71 signed int 72 73 with body 74 75 f6: a function 103 accepting unspecified arguments 104 returning 105 signed int 106 107 with body 108 CompoundStmt 109 110 f6: function 111 accepting unspecified arguments 76 112 returning 77 113 pointer to signed int 78 114 with body 79 80 f7: a function 115 CompoundStmt 116 117 f7: function 118 accepting unspecified arguments 81 119 returning 82 120 pointer to signed int 83 121 with body 84 85 f8: a function 122 CompoundStmt 123 124 f8: function 125 accepting unspecified arguments 86 126 returning 87 127 pointer to pointer to signed int 88 128 with body 89 90 f9: a function 129 CompoundStmt 130 131 f9: function 132 accepting unspecified arguments 91 133 returning 92 134 pointer to const pointer to signed int 93 135 with body 94 95 f10: a function 136 CompoundStmt 137 138 f10: function 139 accepting unspecified arguments 96 140 returning 97 141 pointer to open array of signed int 98 142 with body 99 100 f11: a function 101 returning 102 pointer to open array of open array of signed int 103 with body 104 105 f12: a function 106 returning 107 pointer to open array of open array of signed int 108 with body 109 110 fII1: a function 111 with parameters 112 i: a signed int 113 returning 114 signed int 115 with body 116 117 fII2: a function 118 with parameters 119 i: a signed int 143 CompoundStmt 144 145 f11: function 146 accepting unspecified arguments 147 returning 148 pointer to open array of array of signed int with dimension of constant expression 3 signed int 149 with body 150 CompoundStmt 151 152 f12: function 153 accepting unspecified arguments 154 returning 155 pointer to open array of array of signed int with dimension of constant expression 3 signed int 156 with body 157 CompoundStmt 158 159 fII1: function 160 with parameters 161 i: signed int 162 returning 163 signed int 164 with body 165 CompoundStmt 166 167 fII2: function 168 with parameters 169 i: signed int 120 170 returning 121 171 const signed int 122 172 with body 123 124 fII3: a extern function 125 with parameters 126 i: a signed int 127 returning 128 signed int 129 with body 130 131 fII4: a extern function 132 with parameters 133 i: a signed int 173 CompoundStmt 174 175 fII3: extern function 176 with parameters 177 i: signed int 178 returning 179 signed int 180 with body 181 CompoundStmt 182 183 fII4: extern function 184 with parameters 185 i: signed int 134 186 returning 135 187 const signed int 136 188 with body 137 138 fII5: a function 189 CompoundStmt 190 191 fII5: function 192 accepting unspecified arguments 139 193 returning 140 194 pointer to signed int 141 195 with body 142 143 fII6: a function 196 CompoundStmt 197 198 fII6: function 199 accepting unspecified arguments 144 200 returning 145 201 const pointer to signed int 146 202 with body 147 148 fII7: a function 203 CompoundStmt 204 205 fII7: function 206 accepting unspecified arguments 149 207 returning 150 208 pointer to const long signed int 151 209 with body 152 153 fII8: a static function 210 CompoundStmt 211 212 fII8: static function 213 accepting unspecified arguments 154 214 returning 155 215 pointer to const long signed int 156 216 with body 157 158 fII9: a static function 217 CompoundStmt 218 219 fII9: static function 220 accepting unspecified arguments 159 221 returning 160 222 pointer to const long signed int 161 223 with body 162 163 fO1: a function 224 CompoundStmt 225 226 fO1: function 227 accepting unspecified arguments 164 228 returning 165 229 signed int … … 167 231 i 168 232 with parameter declarations 169 i: a signed int 170 with body 171 172 fO2: a function 233 i: signed int 234 with body 235 CompoundStmt 236 237 fO2: function 238 accepting unspecified arguments 173 239 returning 174 240 signed int … … 176 242 i 177 243 with parameter declarations 178 i: a signed int 179 with body 180 181 fO3: a function 244 i: signed int 245 with body 246 CompoundStmt 247 248 fO3: function 249 accepting unspecified arguments 182 250 returning 183 251 const signed int … … 185 253 i 186 254 with parameter declarations 187 i: a signed int 188 with body 189 190 fO4: a extern function 255 i: signed int 256 with body 257 CompoundStmt 258 259 fO4: extern function 260 accepting unspecified arguments 191 261 returning 192 262 signed int … … 194 264 i 195 265 with parameter declarations 196 i: a signed int 197 with body 198 199 fO5: a extern function 266 i: signed int 267 with body 268 CompoundStmt 269 270 fO5: extern function 271 accepting unspecified arguments 200 272 returning 201 273 const signed int … … 203 275 i 204 276 with parameter declarations 205 i: a signed int 206 with body 207 208 f: a function 209 returning 210 nothing 211 212 f: a function 213 returning 214 signed int 215 216 f: a function 217 with parameters 218 signed int 219 returning 220 nothing 221 222 f: a function 223 with parameters 224 signed int 225 returning 226 signed int 227 228 f: a function 229 returning 230 nothing 231 with body 232 233 f: a function 234 returning 235 signed int 236 with body 237 238 f: a function 239 with parameters 240 signed int 241 returning 242 nothing 243 with body 244 245 f: a function 246 with parameters 247 signed int 248 returning 249 signed int 250 with body 251 252 f: a function 253 returning 254 x: a signed int 255 256 f: a function 257 with parameters 258 x: a signed int 259 returning 260 nothing 261 262 f: a function 263 with parameters 264 x: a signed int 265 returning 266 x: a signed int 267 268 f: a function 269 returning 270 x: a signed int 271 with body 272 273 f: a function 274 with parameters 275 x: a signed int 276 returning 277 nothing 278 with body 279 280 f: a function 281 with parameters 282 x: a signed int 283 returning 284 x: a signed int 285 with body 286 287 f: a function 288 returning 289 signed int 290 x: a signed int 291 292 f: a function 293 with parameters 294 signed int 295 x: a signed int 296 returning 297 nothing 298 299 f: a function 300 with parameters 301 signed int 302 x: a signed int 303 returning 304 signed int 305 x: a signed int 306 307 f: a function 308 returning 309 signed int 310 x: a signed int 311 with body 312 313 f: a function 314 with parameters 315 signed int 316 x: a signed int 317 returning 318 nothing 319 with body 320 321 f: a function 322 with parameters 323 signed int 324 x: a signed int 325 returning 326 signed int 327 x: a signed int 328 with body 329 330 f: a function 331 returning 332 signed int 333 x: a signed int 334 signed int 335 336 f: a function 337 with parameters 338 signed int 339 x: a signed int 340 signed int 341 returning 342 nothing 343 344 f: a function 345 with parameters 346 signed int 347 x: a signed int 348 signed int 349 returning 350 signed int 351 x: a signed int 352 signed int 353 354 f: a function 355 returning 356 signed int 357 x: a signed int 358 signed int 359 with body 360 361 f: a function 362 with parameters 363 signed int 364 x: a signed int 365 signed int 366 returning 367 nothing 368 with body 369 370 f: a function 371 with parameters 372 signed int 373 x: a signed int 374 signed int 375 returning 376 signed int 377 x: a signed int 378 signed int 379 with body 380 381 f: a function 382 returning 383 signed int 384 x: a signed int 385 y: a pointer to signed int 386 387 f: a function 388 with parameters 389 signed int 390 x: a signed int 391 y: a pointer to signed int 392 returning 393 nothing 394 395 f: a function 396 with parameters 397 signed int 398 x: a signed int 399 y: a pointer to signed int 400 returning 401 signed int 402 x: a signed int 403 y: a pointer to signed int 404 405 f: a function 406 returning 407 signed int 408 x: a signed int 409 y: a pointer to signed int 410 with body 411 412 f: a function 413 with parameters 414 signed int 415 x: a signed int 416 y: a pointer to signed int 417 returning 418 nothing 419 with body 420 421 f: a function 422 with parameters 423 signed int 424 x: a signed int 425 y: a pointer to signed int 426 returning 427 signed int 428 x: a signed int 429 y: a pointer to signed int 430 with body 431 432 f11: a function 433 with parameters 434 signed int 435 returning 436 signed int 437 438 f12: a function 439 with parameters 440 signed int 441 returning 442 signed int 443 444 f: a function 277 i: signed int 278 with body 279 CompoundStmt 280 281 f: function 282 returning 283 nothing 284 285 f: function 286 returning 287 signed int 288 289 f: function 290 with parameters 291 signed int 292 returning 293 nothing 294 295 f: function 296 with parameters 297 signed int 298 returning 299 signed int 300 301 f: function 302 returning 303 nothing 304 with body 305 CompoundStmt 306 307 f: function 308 returning 309 signed int 310 with body 311 CompoundStmt 312 313 f: function 314 with parameters 315 signed int 316 returning 317 nothing 318 with body 319 CompoundStmt 320 321 f: function 322 with parameters 323 signed int 324 returning 325 signed int 326 with body 327 CompoundStmt 328 329 f: function 330 returning 331 x: signed int 332 333 f: function 334 with parameters 335 x: signed int 336 returning 337 nothing 338 339 f: function 340 with parameters 341 x: signed int 342 returning 343 x: signed int 344 345 f: function 346 returning 347 x: signed int 348 with body 349 CompoundStmt 350 351 f: function 352 with parameters 353 x: signed int 354 returning 355 nothing 356 with body 357 CompoundStmt 358 359 f: function 360 with parameters 361 x: signed int 362 returning 363 x: signed int 364 with body 365 CompoundStmt 366 367 f: function 368 returning 369 signed int 370 x: signed int 371 372 f: function 373 with parameters 374 signed int 375 x: signed int 376 returning 377 nothing 378 379 f: function 380 with parameters 381 signed int 382 x: signed int 383 returning 384 signed int 385 x: signed int 386 387 f: function 388 returning 389 signed int 390 x: signed int 391 with body 392 CompoundStmt 393 394 f: function 395 with parameters 396 signed int 397 x: signed int 398 returning 399 nothing 400 with body 401 CompoundStmt 402 403 f: function 404 with parameters 405 signed int 406 x: signed int 407 returning 408 signed int 409 x: signed int 410 with body 411 CompoundStmt 412 413 f: function 414 returning 415 signed int 416 x: signed int 417 signed int 418 419 f: function 420 with parameters 421 signed int 422 x: signed int 423 signed int 424 returning 425 nothing 426 427 f: function 428 with parameters 429 signed int 430 x: signed int 431 signed int 432 returning 433 signed int 434 x: signed int 435 signed int 436 437 f: function 438 returning 439 signed int 440 x: signed int 441 signed int 442 with body 443 CompoundStmt 444 445 f: function 446 with parameters 447 signed int 448 x: signed int 449 signed int 450 returning 451 nothing 452 with body 453 CompoundStmt 454 455 f: function 456 with parameters 457 signed int 458 x: signed int 459 signed int 460 returning 461 signed int 462 x: signed int 463 signed int 464 with body 465 CompoundStmt 466 467 f: function 468 returning 469 signed int 470 x: signed int 471 y: pointer to signed int 472 473 f: function 474 with parameters 475 signed int 476 x: signed int 477 y: pointer to signed int 478 returning 479 nothing 480 481 f: function 482 with parameters 483 signed int 484 x: signed int 485 y: pointer to signed int 486 returning 487 signed int 488 x: signed int 489 y: pointer to signed int 490 491 f: function 492 returning 493 signed int 494 x: signed int 495 y: pointer to signed int 496 with body 497 CompoundStmt 498 499 f: function 500 with parameters 501 signed int 502 x: signed int 503 y: pointer to signed int 504 returning 505 nothing 506 with body 507 CompoundStmt 508 509 f: function 510 with parameters 511 signed int 512 x: signed int 513 y: pointer to signed int 514 returning 515 signed int 516 x: signed int 517 y: pointer to signed int 518 with body 519 CompoundStmt 520 521 f11: function 522 with parameters 523 signed int 524 returning 525 signed int 526 527 f12: function 528 with parameters 529 signed int 530 returning 531 signed int 532 533 f: function 445 534 with parameters 446 535 function 447 536 with parameters 448 537 signed int 449 p: asigned int538 p: signed int 450 539 returning 451 540 signed int … … 460 549 signed int 461 550 with body 462 Declaration of p: a pointer to open array of open array of pointer to open array of open array of signed int 463 Declaration of p: a pointer to open array of open array of pointer to open array of open array of signed int 464 Declaration of p: a pointer to open array of pointer to function 465 with parameters 466 signed int 467 returning 468 signed int 469 470 471 f1: a static function 551 CompoundStmt 552 Declaration of p: pointer to open array of array of pointer to open array of array of signed int with dimension of constant expression 3 signed int with dimension of constant expression 10 signed int 553 Declaration of p: pointer to open array of array of pointer to open array of array of signed int with dimension of constant expression 3 signed int with dimension of constant expression 10 signed int 554 Declaration of p: pointer to open array of pointer to function 555 with parameters 556 signed int 557 returning 558 signed int 559 560 561 f1: static function 562 accepting unspecified arguments 472 563 returning 473 564 pointer to const signed int 474 565 with body 475 476 f2: a static function 566 CompoundStmt 567 568 f2: static function 477 569 returning 478 570 const signed int 479 571 with body 480 481 f3: a inline static function 572 CompoundStmt 573 574 f3: inline static function 482 575 returning 483 576 const pointer to signed int 484 577 with body 485 486 f4: a inline static function 578 CompoundStmt 579 580 f4: inline static function 487 581 returning 488 582 const tuple of types … … 491 585 492 586 with body 493 494 f5: a static function 587 CompoundStmt 588 589 f5: static function 495 590 returning 496 591 const tuple of types … … 499 594 500 595 with body 501 502 f: a function 503 with parameters 504 function 505 returning 506 signed int 507 508 function 596 CompoundStmt 597 598 f: function 599 with parameters 600 function 601 accepting unspecified arguments 602 returning 603 signed int 604 605 function 606 accepting unspecified arguments 509 607 returning 510 608 pointer to signed int 511 609 512 610 function 611 accepting unspecified arguments 513 612 returning 514 613 pointer to pointer to signed int 515 614 516 615 function 616 accepting unspecified arguments 517 617 returning 518 618 pointer to const pointer to signed int 519 619 520 620 function 621 accepting unspecified arguments 521 622 returning 522 623 const pointer to const pointer to signed int 523 624 524 625 open array of signed int 626 array of signed int with dimension of constant expression 10 signed int 627 open array of pointer to signed int 628 array of pointer to signed int with dimension of constant expression 10 signed int 629 open array of pointer to pointer to signed int 630 array of pointer to pointer to signed int with dimension of constant expression 10 signed int 631 open array of pointer to const pointer to signed int 632 array of pointer to const pointer to signed int with dimension of constant expression 10 signed int 633 open array of const pointer to const pointer to signed int 634 array of const pointer to const pointer to signed int with dimension of constant expression 10 signed int 635 returning 636 signed int 637 638 f: function 639 with parameters 640 function 641 accepting unspecified arguments 642 returning 643 signed int 644 645 function 646 accepting unspecified arguments 647 returning 648 pointer to signed int 649 650 function 651 accepting unspecified arguments 652 returning 653 pointer to pointer to signed int 654 655 function 656 accepting unspecified arguments 657 returning 658 pointer to const pointer to signed int 659 660 function 661 accepting unspecified arguments 662 returning 663 const pointer to const pointer to signed int 664 525 665 open array of signed int 666 array of signed int with dimension of constant expression 10 signed int 526 667 open array of pointer to signed int 527 open array of pointer tosigned int668 array of pointer to signed int with dimension of constant expression 10 signed int 528 669 open array of pointer to pointer to signed int 529 open array of pointer to pointer tosigned int670 array of pointer to pointer to signed int with dimension of constant expression 10 signed int 530 671 open array of pointer to const pointer to signed int 531 open array of pointer to const pointer tosigned int672 array of pointer to const pointer to signed int with dimension of constant expression 10 signed int 532 673 open array of const pointer to const pointer to signed int 533 open array of const pointer to const pointer to signed int 534 returning 535 signed int 536 537 f: a function 538 with parameters 539 function 540 returning 541 signed int 542 543 function 544 returning 545 pointer to signed int 546 547 function 548 returning 549 pointer to pointer to signed int 550 551 function 552 returning 553 pointer to const pointer to signed int 554 555 function 556 returning 557 const pointer to const pointer to signed int 558 559 open array of signed int 560 open array of signed int 561 open array of pointer to signed int 562 open array of pointer to signed int 563 open array of pointer to pointer to signed int 564 open array of pointer to pointer to signed int 565 open array of pointer to const pointer to signed int 566 open array of pointer to const pointer to signed int 567 open array of const pointer to const pointer to signed int 568 open array of const pointer to const pointer to signed int 569 returning 570 signed int 571 with body 572 573 T: a typedef for signed int 574 f: a function 575 with parameters 576 function 577 with parameters 578 instance of type T 579 returning 580 instance of type T 581 582 T: a instance of type T 583 returning 584 signed int 585 with body 586 674 array of const pointer to const pointer to signed int with dimension of constant expression 10 signed int 675 returning 676 signed int 677 with body 678 CompoundStmt 679 680 T: typedef for signed int 681 f: function 682 with parameters 683 f: pointer to instance of type T (not function type) 684 t: instance of type T (not function type) 685 returning 686 signed int 687 with body 688 CompoundStmt 689 Declaration of T: instance of type T (not function type) 690 -
src/Tests/Expect-e/MiscError.txt
reb50842 r937e51d 5 5 nothing 6 6 Alternatives are: Cost ( 0, 0, 1 ): Cast of: 7 Variable Expression: b: asigned int7 Variable Expression: b: signed int 8 8 9 9 to: … … 14 14 15 15 Cost ( 0, 0, 1 ): Cast of: 16 Variable Expression: b: afloat16 Variable Expression: b: float 17 17 18 18 to: … … 29 29 nothing 30 30 Alternatives are: Cost ( 0, 0, 1 ): Cast of: 31 Variable Expression: b: asigned int31 Variable Expression: b: signed int 32 32 33 33 to: … … 38 38 39 39 Cost ( 0, 0, 1 ): Cast of: 40 Variable Expression: b: afloat40 Variable Expression: b: float 41 41 42 42 to: … … 57 57 Alternatives are: Cost ( 0, 0, 1 ): Cast of: 58 58 Comma Expression: 59 Variable Expression: a: asigned int59 Variable Expression: a: signed int 60 60 61 Variable Expression: b: asigned int61 Variable Expression: b: signed int 62 62 63 63 to: … … 69 69 Cost ( 0, 0, 1 ): Cast of: 70 70 Comma Expression: 71 Variable Expression: a: asigned int71 Variable Expression: a: signed int 72 72 73 Variable Expression: b: afloat73 Variable Expression: b: float 74 74 75 75 to: -
src/Tests/Expect-e/OccursError.txt
reb50842 r937e51d 1 1 Error: No reasonable alternatives for expression Applying untyped: 2 2 Name: f 3 4 3 ...to: 5 4 Name: g -
src/Tests/Expect-s/Array.txt
reb50842 r937e51d 5 5 Adding object m2 6 6 Adding object m4 7 Adding typedef T8 --- Entering scope9 --- Leaving scope containing10 7 Adding function fred 11 8 --- Entering scope … … 16 13 Adding object T 17 14 --- Leaving scope containing 18 T (__T__A0i) (2)19 a1 (__a1__A0i) (2)20 a2 (__a2__A0i) (2)21 a4 (__a4__A0i) (2)22 15 --- Leaving scope containing 23 16 Adding function mary … … 30 23 --- Leaving scope containing 31 24 --- Leaving scope containing 32 T (__T__Pi) (1)33 p1 (__p1__CPi) (1)34 p2 (__p2__Pi) (1)35 p3 (__p3__CPi) (1)36 25 Adding function tom 37 26 --- Entering scope … … 48 37 --- Leaving scope containing 49 38 --- Leaving scope containing 50 T (__T__Pi) (1)51 p1 (__p1__CPi) (1)52 p2 (__p2__Pi) (1)53 p3 (__p3__CPi) (1) -
src/Tests/Expect-s/Context.txt
reb50842 r937e51d 1 Adding context has_q2 1 --- Entering scope 3 Adding type T4 2 --- Entering scope 5 3 --- Leaving scope containing 4 Adding type T 6 5 Adding function q 7 6 --- Entering scope 8 7 --- Leaving scope containing 9 8 --- Leaving scope containing 10 q (__q__F_2tT_2tT_) (1)11 9 T 10 Adding context has_q 12 11 Adding function f 13 12 --- Entering scope 14 Adding type z15 13 --- Entering scope 16 14 --- Leaving scope containing 17 Adding function q 15 Adding type z 16 Adding function ?=? 18 17 --- Entering scope 19 18 --- Leaving scope containing 20 19 --- Entering scope 21 Adding context has_r22 20 --- Entering scope 21 --- Entering scope 22 --- Leaving scope containing 23 23 Adding type T 24 24 --- Entering scope 25 25 --- Leaving scope containing 26 26 Adding type U 27 --- Entering scope28 --- Leaving scope containing29 27 Adding function r 30 28 --- Entering scope 31 29 --- Leaving scope containing 32 30 --- Leaving scope containing 33 r (__r__F_2tT_2tTPF_2tT_2tT2tU__) (3)34 31 T 35 32 U 33 Adding context has_r 34 --- Entering scope 35 --- Leaving scope containing 36 36 Adding type x 37 37 --- Entering scope 38 38 --- Leaving scope containing 39 39 Adding type y 40 --- Entering scope41 40 --- Leaving scope containing 42 Adding function r43 --- Entering scope44 --- Leaving scope containing45 --- Leaving scope containing46 r (__r__F_2tx_2txPF_2tx_2tx2ty__) (2)47 41 x 48 42 y 49 43 has_r 50 44 --- Leaving scope containing 51 q (__q__F_2tz_2tz_) (1)52 45 z -
src/Tests/Expect-s/Enum.txt
reb50842 r937e51d 17 17 Adding object fruit 18 18 --- Leaving scope containing 19 Apple (__Apple__C7eFruits) (2)20 Banana (__Banana__C7eFruits) (2)21 Mango (__Mango__C7eFruits) (2)22 Pear (__Pear__C7eFruits) (2)23 fruit (__fruit__7eFruits) (2)24 19 Fruits 25 20 --- Leaving scope containing -
src/Tests/Expect-s/Forall.txt
reb50842 r937e51d 1 in default case, (shouldn't be here) 2 in default case, (shouldn't be here) 3 Adding typedef f 4 --- Entering scope 5 Adding type T 6 --- Entering scope 7 --- Leaving scope containing 8 --- Leaving scope containing 9 T 1 Adding function ?=? 2 --- Entering scope 3 --- Leaving scope containing 4 Adding function ?=? 5 --- Entering scope 6 --- Leaving scope containing 7 Adding function ?=? 8 --- Entering scope 9 --- Leaving scope containing 10 Adding function ?=? 11 --- Entering scope 12 --- Leaving scope containing 13 Adding function ?=? 14 --- Entering scope 15 --- Leaving scope containing 16 Adding function ?=? 17 --- Entering scope 18 --- Leaving scope containing 19 Adding function g1 20 --- Entering scope 21 --- Entering scope 22 Adding function f 23 --- Entering scope 24 --- Entering scope 25 --- Leaving scope containing 26 Adding type T 27 Adding function ?=? 28 --- Entering scope 29 --- Leaving scope containing 30 --- Leaving scope containing 31 T 32 Adding function f 33 --- Entering scope 34 --- Leaving scope containing 35 Adding function h 36 --- Entering scope 37 Adding object p 38 --- Leaving scope containing 39 Adding object x 40 Adding object y 41 Adding object z 42 Adding object w 43 --- Leaving scope containing 44 --- Leaving scope containing 45 Adding function g2 46 --- Entering scope 47 --- Entering scope 48 Adding function f 49 --- Entering scope 50 --- Entering scope 51 --- Leaving scope containing 52 Adding type T 53 Adding function ?=? 54 --- Entering scope 55 --- Leaving scope containing 56 --- Leaving scope containing 57 T 58 Adding function f 59 --- Entering scope 60 --- Entering scope 61 --- Leaving scope containing 62 Adding type T 63 Adding function ?=? 64 --- Entering scope 65 --- Leaving scope containing 66 --- Entering scope 67 --- Leaving scope containing 68 Adding type U 69 Adding function ?=? 70 --- Entering scope 71 --- Leaving scope containing 72 --- Leaving scope containing 73 T 74 U 75 Adding object x 76 Adding object y 77 Adding object z 78 Adding object w 79 --- Leaving scope containing 80 --- Leaving scope containing 10 81 Adding function swap 11 82 --- Entering scope 12 Adding type T 83 --- Entering scope 84 --- Leaving scope containing 85 Adding type T 86 Adding function ?=? 13 87 --- Entering scope 14 88 --- Leaving scope containing … … 18 92 Adding object temp 19 93 --- Leaving scope containing 20 temp (__temp__2tT) (2) 21 --- Leaving scope containing 22 left (__left__2tT) (1) 23 right (__right__2tT) (1) 94 --- Leaving scope containing 95 T 96 --- Entering scope 97 --- Entering scope 98 --- Leaving scope containing 99 Adding type T 100 Adding object 0 101 Adding function ?+? 102 --- Entering scope 103 --- Leaving scope containing 104 Adding function ?++ 105 --- Entering scope 106 --- Leaving scope containing 107 Adding function ?+=? 108 --- Entering scope 109 --- Leaving scope containing 110 --- Leaving scope containing 24 111 T 25 112 Adding context sumable 26 113 --- Entering scope 27 Adding type T 28 --- Entering scope 29 --- Leaving scope containing 114 --- Leaving scope containing 115 Adding type T1 30 116 Adding object 0 31 117 Adding function ?+? … … 38 124 --- Entering scope 39 125 --- Leaving scope containing 40 --- Leaving scope containing 41 0 (__0__C2tT) (1) 42 ?++ (__?++__F_2tT_2tT_) (1) 43 ?+=? (__?+=?__F_2tT_2tT2tT_) (1) 44 ?+? (__?+?__F_2tT_2tT2tT_) (1) 45 T 46 Adding type T1 47 --- Entering scope 48 --- Leaving scope containing 49 Adding object 0 50 Adding function ?+? 51 --- Entering scope 52 --- Leaving scope containing 53 Adding function ?++ 54 --- Entering scope 55 --- Leaving scope containing 56 Adding function ?+=? 57 --- Entering scope 58 --- Leaving scope containing 59 Adding type T2 60 --- Entering scope 126 --- Entering scope 127 --- Entering scope 128 --- Leaving scope containing 61 129 Adding type P1 62 130 --- Entering scope 63 131 --- Leaving scope containing 64 132 Adding type P2 65 --- Entering scope66 --- Leaving scope containing67 133 --- Leaving scope containing 68 134 P1 69 135 P2 136 Adding type T2 137 --- Entering scope 138 --- Leaving scope containing 70 139 Adding type T3 71 --- Entering scope 72 --- Leaving scope containing 73 Adding object 0 74 Adding function ?+? 75 --- Entering scope 76 --- Leaving scope containing 77 Adding function ?++ 78 --- Entering scope 79 --- Leaving scope containing 80 Adding function ?+=? 81 --- Entering scope 82 --- Leaving scope containing 83 Adding struct __anonymous0 140 Adding fwd decl for struct __anonymous0 84 141 --- Entering scope 85 142 Adding object i 86 143 Adding object j 87 144 --- Leaving scope containing 88 i (__i__3tP1) (1) 89 j (__j__3tP2) (1) 90 Adding type T2 91 --- Entering scope145 Adding struct __anonymous0 146 --- Entering scope 147 --- Entering scope 148 --- Leaving scope containing 92 149 Adding type P1 93 150 --- Entering scope … … 99 156 P1 100 157 P2 101 Adding object 0 102 Adding function ?+? 103 --- Entering scope 104 --- Leaving scope containing 105 Adding function ?++ 106 --- Entering scope 107 --- Leaving scope containing 108 Adding function ?+=? 109 --- Entering scope 110 --- Leaving scope containing 158 Adding type T2 111 159 Adding object w1 112 Adding typedef w2113 --- Entering scope114 --- Leaving scope containing115 160 Adding object g2 161 --- Entering scope 162 --- Leaving scope containing 116 163 Adding type w3 117 --- Entering scope118 --- Leaving scope containing119 164 Adding object g3 120 165 Adding function sum 121 166 --- Entering scope 122 Adding type T 123 --- Entering scope 124 --- Leaving scope containing 125 Adding object 0 126 Adding function ?+? 127 --- Entering scope 128 --- Leaving scope containing 129 Adding function ?++ 130 --- Entering scope 131 --- Leaving scope containing 132 Adding function ?+=? 167 --- Entering scope 168 --- Leaving scope containing 169 Adding type T 170 Adding function ?=? 133 171 --- Entering scope 134 172 --- Leaving scope containing … … 138 176 Adding object total 139 177 Adding object i 140 --- Leaving scope containing 141 i (__i__i) (2) 142 total (__total__2tT) (2) 143 --- Leaving scope containing 144 0 (__0__2tT) (1) 145 ?++ (__?++__F_2tT_2tT_) (1) 146 ?+=? (__?+=?__F_2tT_2tT2tT_) (1) 147 ?+? (__?+?__F_2tT_2tT2tT_) (1) 148 a (__a__P2tT) (1) 149 n (__n__i) (1) 178 --- Entering scope 179 --- Leaving scope containing 180 --- Leaving scope containing 181 --- Leaving scope containing 150 182 T 151 183 Adding function twice 152 184 --- Entering scope 153 Adding type T 185 --- Entering scope 186 --- Leaving scope containing 187 Adding type T 188 Adding function ?=? 154 189 --- Entering scope 155 190 --- Leaving scope containing … … 168 203 --- Leaving scope containing 169 204 --- Leaving scope containing 170 0 (__0__C2tT) (1) 171 ?++ (__?++__F_2tT_2tT_) (1) 172 ?+=? (__?+=?__F_2tT_2tT2tT_) (1) 173 ?+? (__?+?__F_2tT_2tT2tT_) (1) 174 t (__t__2tT) (1) 205 T 206 Adding function min 207 --- Entering scope 208 --- Entering scope 209 --- Leaving scope containing 210 Adding type T 211 Adding function ?=? 212 --- Entering scope 213 --- Leaving scope containing 214 Adding object 0 215 Adding function ?!=? 216 --- Entering scope 217 --- Leaving scope containing 218 Adding function ?<? 219 --- Entering scope 220 --- Leaving scope containing 221 Adding object t1 222 Adding object t2 223 --- Entering scope 224 --- Leaving scope containing 225 --- Leaving scope containing 175 226 T 176 227 Adding function main … … 182 233 Adding object f 183 234 --- Leaving scope containing 184 a (__a__A0i) (2) 185 f (__f__f) (2) 186 x (__x__i) (2) 187 y (__y__i) (2) 188 --- Leaving scope containing 235 --- Leaving scope containing -
src/Tests/Expect-s/Scope.txt
reb50842 r937e51d 1 in default case, (shouldn't be here)2 in default case, (shouldn't be here)3 in default case, (shouldn't be here)4 1 Adding object x 5 Adding typedef y6 --- Entering scope7 --- Leaving scope containing8 Adding typedef t9 --- Entering scope10 --- Leaving scope containing11 2 Adding object z 12 Adding struct __anonymous03 Adding fwd decl for struct __anonymous0 13 4 --- Entering scope 14 5 Adding object a 15 6 Adding object b 16 7 --- Leaving scope containing 17 a (__a__i) (1) 18 b (__b__d) (1) 19 Adding type u 8 Adding struct __anonymous0 9 --- Entering scope 20 10 --- Entering scope 21 11 --- Leaving scope containing 12 --- Leaving scope containing 13 Adding type u 22 14 Adding function f 23 15 --- Entering scope 24 16 Adding object y 25 17 --- Leaving scope containing 26 y (__y__i) (1)27 18 Adding object q 28 19 Adding function w … … 31 22 Adding object v 32 23 --- Entering scope 33 Adding type x34 24 --- Entering scope 35 25 --- Leaving scope containing 26 Adding type x 36 27 Adding function t 37 28 --- Entering scope … … 40 31 Adding object z 41 32 --- Leaving scope containing 42 t (__t__F_2tx_2tu_) (2)43 u (__u__2tu) (2)44 z (__z__2tx) (2)45 33 x 46 34 --- Leaving scope containing 47 v (__v__2tu) (1)48 y (__y__2ty) (1)49 35 Adding object p 50 Adding context has_u51 36 --- Entering scope 52 Adding type z53 37 --- Entering scope 54 38 --- Leaving scope containing 39 Adding type z 55 40 Adding function u 56 41 --- Entering scope 57 42 --- Leaving scope containing 58 43 --- Leaving scope containing 59 u (__u__F_2tz_2tz_) (1)60 44 z 45 Adding context has_u 61 46 Adding function q 62 47 --- Entering scope 63 Adding type t64 48 --- Entering scope 65 49 --- Leaving scope containing 66 Adding function u 50 Adding type t 51 Adding function ?=? 67 52 --- Entering scope 68 53 --- Leaving scope containing … … 71 56 Adding object y 72 57 --- Leaving scope containing 73 y (__y__2tt) (2)74 58 --- Leaving scope containing 75 the_t (__the_t__2tt) (1)76 u (__u__F_2tt_2tt_) (1)77 59 t 78 60 Adding function f … … 81 63 --- Entering scope 82 64 Adding object y 83 Adding typedef x 65 --- Entering scope 66 Adding object y 67 --- Entering scope 68 Adding object x 69 Adding object z 70 --- Leaving scope containing 71 Adding object x 72 --- Leaving scope containing 73 Adding object q 74 --- Leaving scope containing 75 --- Leaving scope containing 76 Adding function g 77 --- Entering scope 78 --- Entering scope 84 79 --- Entering scope 85 80 --- Leaving scope containing 81 Adding object x 86 82 --- Entering scope 87 83 Adding object y 88 Adding typedef z89 --- Entering scope90 --- Leaving scope containing91 --- Entering scope92 Adding object x93 Adding typedef y94 --- Entering scope95 84 --- Leaving scope containing 96 85 Adding object z 97 86 --- Leaving scope containing 98 x (__x__2tz) (4)99 z (__z__2ty) (4)100 y101 Adding object x102 --- Leaving scope containing103 x (__x__2tz) (3)104 y (__y__2tx) (3)105 z106 Adding object q107 --- Leaving scope containing108 q (__q__2tx) (2)109 y (__y__i) (2)110 x111 --- Leaving scope containing112 p (__p__2ty) (1)113 Adding function g114 --- Entering scope115 --- Entering scope116 Adding typedef x117 --- Entering scope118 --- Leaving scope containing119 Adding object z120 --- Leaving scope containing121 z (__z__2tx) (2)122 x123 87 --- Leaving scope containing 124 88 Adding function q … … 128 92 --- Leaving scope containing 129 93 --- Leaving scope containing 130 i (__i__i) (1) -
src/Tests/Expect-s/ScopeErrors.txt
reb50842 r937e51d 8 8 Adding object thisIsNotAnError 9 9 --- Leaving scope containing 10 thisIsNotAnError (__thisIsNotAnError__i) (2)11 10 --- Leaving scope containing 12 11 Adding function thisIsAlsoNotAnError … … 16 15 --- Leaving scope containing 17 16 --- Leaving scope containing 18 x (__x__d) (1)19 17 Adding function thisIsStillNotAnError 20 18 --- Entering scope … … 29 27 --- Leaving scope containing 30 28 Adding function butThisIsAnError 31 Error: duplicate definition for thisIsAnError: a signed int 32 Error: duplicate function definition for butThisIsAnError: a function 29 Error: duplicate function definition for butThisIsAnError: function 33 30 with parameters 34 31 double … … 36 33 double 37 34 with body 35 CompoundStmt 38 36 -
src/Tests/Expect-s/Tuple.txt
reb50842 r937e51d 12 12 Adding object d 13 13 --- Leaving scope containing 14 a (__a__i) (1) 15 b (__b__i) (1) 16 c (__c__Pi) (1) 17 d (__d__Pc) (1) 18 Adding struct inner 14 Adding fwd decl for struct inner 19 15 --- Entering scope 20 16 Adding object f2 21 17 Adding object f3 22 18 --- Leaving scope containing 23 f2 (__f2__i) (1) 24 f3 (__f3__i) (1) 25 Adding struct outer 19 Adding struct inner 20 Adding fwd decl for struct outer 26 21 --- Entering scope 27 22 Adding object f1 23 --- Entering scope 24 --- Leaving scope containing 28 25 Adding object i 29 26 Adding object f4 30 27 --- Leaving scope containing 31 f1 (__f1__i) (1) 32 f4 (__f4__d) (1) 33 i (__i__6sinner) (1) 28 Adding struct outer 29 --- Entering scope 30 --- Leaving scope containing 34 31 Adding object s 32 --- Entering scope 33 --- Leaving scope containing 35 34 Adding object sp 36 35 Adding object t1 … … 42 41 Adding object fmt 43 42 --- Leaving scope containing 44 fmt (__fmt__Pc) (1)45 rc (__rc__i) (1)46 43 Adding function printf 47 44 --- Entering scope 48 45 Adding object fmt 49 46 --- Leaving scope containing 50 fmt (__fmt__Pc) (1)51 47 Adding function f1 52 48 --- Entering scope … … 57 53 --- Leaving scope containing 58 54 --- Leaving scope containing 59 w (__w__i) (1)60 x (__x__s) (1)61 y (__y__Ui) (1)62 55 Adding function g1 63 56 --- Entering scope … … 69 62 Adding object z 70 63 --- Leaving scope containing 71 p (__p__s) (2)72 x (__x__s) (2)73 y (__y__Ui) (2)74 z (__z__Tii_) (2)75 64 --- Leaving scope containing 76 r (__r__Ticli_) (1)77 65 Adding function main 78 66 --- Entering scope … … 85 73 Adding object c 86 74 Adding object d 75 --- Entering scope 76 --- Leaving scope containing 87 77 Adding object t 88 78 --- Leaving scope containing 89 a (__a__i) (2)90 b (__b__i) (2)91 c (__c__i) (2)92 d (__d__i) (2)93 t (__t__6souter) (2)94 79 --- Leaving scope containing 95 argc (__argc__i) (1)96 argv (__argv__PPc) (1)97 rc (__rc__i) (1) -
src/Tests/Function.c
reb50842 r937e51d 4 4 float f( float ); 5 5 6 void g() 7 { 8 // selects the same f and a each time 9 // but without a cast would be ambiguous 10 f( (int)a ); 11 (int)f( a ); 6 void g() { 7 // selects the same f each time but without a cast would be ambiguous 8 f( (int)a ); 9 (int)f( a ); 12 10 } 13 11 … … 24 22 [ int, int ] r( int, int, int, int ); 25 23 26 void s() 27 { 28 r( p, q ); 29 r( [ q, p ] ); 30 r( r( p, q ), r( q, q ) ); 24 void s() { 25 r( p, q ); 26 r( [ q, p ] ); 27 r( r( p, q ), r( q, q ) ); 31 28 } 29 30 // Local Variables: // 31 // tab-width: 4 // 32 // End: // -
src/Tests/Functions.c
reb50842 r937e51d 4 4 5 5 int f ( 6 int (void),7 int (int),8 int ((void)),9 int ((int)),10 void g(void)11 ) {12 (*g)();13 g();14 g = h;6 int (void), 7 int (int), 8 int ((void)), 9 int ((int)), 10 void g(void) 11 ) { 12 (*g)(); 13 g(); 14 g = h; 15 15 } 16 16 … … 93 93 int ( int, int p ), 94 94 [int](int) 95 ) {96 int (*(*p)[][10])[][3];97 * [][10] * [][3] int p;98 * [] * [int](int) p;95 ) { 96 int (*(*p)[][10])[][3]; 97 * [][10] * [][3] int p; 98 * [] * [int](int) p; 99 99 } 100 100 … … 108 108 109 109 int f( 110 int (),110 int (), 111 111 112 int *(),113 int **(),114 int * const *(),115 int * const * const (),112 int *(), 113 int **(), 114 int * const *(), 115 int * const * const (), 116 116 117 int ([]),118 int ([10]),117 int ([]), 118 int ([10]), 119 119 120 int *([]),121 int *([10]),122 int **([]),123 int **([10]),124 int * const *([]),125 int * const *([10]),126 int * const * const ([]),127 int * const * const ([10])128 );120 int *([]), 121 int *([10]), 122 int **([]), 123 int **([10]), 124 int * const *([]), 125 int * const *([10]), 126 int * const * const ([]), 127 int * const * const ([10]) 128 ); 129 129 130 130 int f( 131 int (),131 int (), 132 132 133 int *(),134 int **(),135 int * const *(),136 int * const * const (),133 int *(), 134 int **(), 135 int * const *(), 136 int * const * const (), 137 137 138 int ([]),139 int ([10]),138 int ([]), 139 int ([10]), 140 140 141 int *([]),142 int *([10]),143 int **([]),144 int **([10]),145 int * const *([]),146 int * const *([10]),147 int * const * const ([]),148 int * const * const ([10])149 ) {141 int *([]), 142 int *([10]), 143 int **([]), 144 int **([10]), 145 int * const *([]), 146 int * const *([10]), 147 int * const * const ([]), 148 int * const * const ([10]) 149 ) { 150 150 } 151 151 152 152 typedef int T; 153 153 154 int f( T ( T), T T) {155 T (T);154 int f( T (*f), T t ) { 155 T (T); 156 156 } 157 157 … … 162 162 //int f[]() {} 163 163 //int ((*f15())())[] {} 164 165 // Local Variables: // 166 // tab-width: 4 // 167 // End: // -
src/Tests/InferParam.c
reb50842 r937e51d 8 8 void i( float ); 9 9 10 void h() 11 { 12 int a; 13 i( g( a ) ); 10 void h() { 11 int a; 12 i( g( a ) ); 14 13 } 15 14 16 context has_f_and_j( type T, type U ) 17 { 18 U f( T ); 19 U j( T, U ); 15 context has_f_and_j( type T, type U ) { 16 U f( T ); 17 U j( T, U ); 20 18 }; 21 19 … … 23 21 forall( type T, type U | has_f_and_j( T, U ) ) U k( T ); 24 22 25 void l() 26 { 27 int b; 28 i( k( b ) ); 23 void l() { 24 int b; 25 i( k( b ) ); 29 26 } 27 28 // Local Variables: // 29 // tab-width: 4 // 30 // End: // -
src/Tests/ScopeErrors.c
reb50842 r937e51d 5 5 float thisIsNotAnError; 6 6 7 int thisIsAlsoNotAnError() 8 { 7 int thisIsAlsoNotAnError() { 9 8 int thisIsNotAnError; 10 9 } 11 10 12 int thisIsAlsoNotAnError( double x ) 13 { 11 int thisIsAlsoNotAnError( double x ) { 14 12 } 15 13 … … 17 15 double thisIsStillNotAnError( double ); 18 16 19 double butThisIsAnError( double ) 20 { 17 double butThisIsAnError( double ) { 21 18 } 22 19 23 double butThisIsAnError( double ) 24 { 20 double butThisIsAnError( double ) { 25 21 } 26 22 23 // Local Variables: // 24 // tab-width: 4 // 25 // End: // -
src/Tests/Typedef.c
reb50842 r937e51d 18 18 a c; 19 19 20 typedef typeof(3) x, y; / * GCC */20 typedef typeof(3) x, y; // GCC 21 21 22 22 x p; … … 29 29 } 30 30 31 / * new-style function definitions */31 // new-style function definitions 32 32 33 33 typedef [10] * int arrayOf10Pointers; … … 42 42 typedef [ * [static 10] int ] t; 43 43 typedef [ * [static 10] int x ] f(); 44 45 // Local Variables: // 46 // tab-width: 4 // 47 // End: // -
src/Tests/VariableDeclarator.c
reb50842 r937e51d 154 154 [const * const * int] cf70(int); 155 155 156 157 * [20] double z;158 [20] * char w;159 160 156 // function pointer 161 157 162 158 *[]*[]* [ *[]*[] int ]( *[]*[] int, *[]*[] int ) v3; 159 160 // Local Variables: // 161 // tab-width: 4 // 162 // End: //
Note:
See TracChangeset
for help on using the changeset viewer.