Skip to content
Snippets Groups Projects
Commit 03ad796b authored by Patrick Baudin's avatar Patrick Baudin
Browse files

adds src/plugins/variadic/tests (init)

parent 38db166a
No related branches found
No related tags found
No related merge requests found
Showing
with 51 additions and 65 deletions
/configure /configure
/Makefile /Makefile
/tests/ptests_config /tests/**/dune
/tests/*/result /tests/*/result
/* run.config /* run.config
OPT: -kernel-warn-key ghost:bad-use=inactive -load-script tests/declared/called_in_ghost.ml -print MODULE: @PTEST_NAME@.cmxs
OPT: -kernel-warn-key ghost:bad-use=inactive -print
*/ */
// Note: we deactivate "ghost:bad-use" to check that printing goes right // Note: we deactivate "ghost:bad-use" to check that printing goes right
......
[kernel] Parsing tests/declared/called_in_ghost.i (no preprocessing) [kernel] Parsing called_in_ghost.i (no preprocessing)
[kernel] function is not ghost [kernel] function is not ghost
[kernel] function is a non ghost global [kernel] function is a non ghost global
[kernel] e is a non ghost formal [kernel] e is a non ghost formal
......
[variadic] tests/declared/empty-vpar-with-ghost.i:1: [variadic] empty-vpar-with-ghost.i:1: Declaration of variadic function f.
Declaration of variadic function f. [variadic] empty-vpar-with-ghost.i:8:
[variadic] tests/declared/empty-vpar-with-ghost.i:8:
Generic translation of call to variadic function. Generic translation of call to variadic function.
[eva] Analyzing a complete application starting at main [eva] Analyzing a complete application starting at main
[eva] Computing initial state [eva] Computing initial state
[eva] Initial state computed [eva] Initial state computed
[kernel] tests/declared/empty-vpar-with-ghost.i:8: Warning: [kernel] empty-vpar-with-ghost.i:8: Warning:
No code nor implicit assigns clause for function f, generating default assigns from the prototype No code nor implicit assigns clause for function f, generating default assigns from the prototype
[eva] using specification for function f [eva] using specification for function f
[eva] done for function main [eva] done for function main
......
[variadic] tests/declared/empty-vpar.i:1: Declaration of variadic function f. [variadic] empty-vpar.i:1: Declaration of variadic function f.
[variadic] tests/declared/empty-vpar.i:8: [variadic] empty-vpar.i:8: Generic translation of call to variadic function.
Generic translation of call to variadic function.
[eva] Analyzing a complete application starting at main [eva] Analyzing a complete application starting at main
[eva] Computing initial state [eva] Computing initial state
[eva] Initial state computed [eva] Initial state computed
[kernel] tests/declared/empty-vpar.i:8: Warning: [kernel] empty-vpar.i:8: Warning:
No code nor implicit assigns clause for function f, generating default assigns from the prototype No code nor implicit assigns clause for function f, generating default assigns from the prototype
[eva] using specification for function f [eva] using specification for function f
[eva] done for function main [eva] done for function main
......
[variadic] tests/declared/function-ptr-with-ghost.i:4: [variadic] function-ptr-with-ghost.i:4: Declaration of variadic function va_f.
Declaration of variadic function va_f. [variadic] function-ptr-with-ghost.i:2:
[variadic] tests/declared/function-ptr-with-ghost.i:2:
Generic translation of call to variadic function. Generic translation of call to variadic function.
[eva] Analyzing a complete application starting at main [eva] Analyzing a complete application starting at main
[eva] Computing initial state [eva] Computing initial state
[eva] Initial state computed [eva] Initial state computed
[kernel:annot:missing-spec] tests/declared/function-ptr-with-ghost.i:2: Warning: [kernel:annot:missing-spec] function-ptr-with-ghost.i:2: Warning:
Neither code nor specification for function va_f, generating default assigns from the prototype Neither code nor specification for function va_f, generating default assigns from the prototype
[eva] using specification for function va_f [eva] using specification for function va_f
[eva] done for function main [eva] done for function main
......
[variadic] tests/declared/label.i:4: Declaration of variadic function f. [variadic] label.i:4: Declaration of variadic function f.
[variadic] tests/declared/label.i:8: [variadic] label.i:8: Generic translation of call to variadic function.
Generic translation of call to variadic function.
[eva] Analyzing a complete application starting at main [eva] Analyzing a complete application starting at main
[eva] Computing initial state [eva] Computing initial state
[eva] Initial state computed [eva] Initial state computed
[kernel:annot:missing-spec] tests/declared/label.i:8: Warning: [kernel:annot:missing-spec] label.i:8: Warning:
Neither code nor specification for function f, generating default assigns from the prototype Neither code nor specification for function f, generating default assigns from the prototype
[eva] using specification for function f [eva] using specification for function f
[eva] done for function main [eva] done for function main
......
[variadic] tests/declared/multi.i:1: Declaration of variadic function f. [variadic] multi.i:1: Declaration of variadic function f.
[variadic] tests/declared/multi.i:12: Declaration of variadic function g. [variadic] multi.i:12: Declaration of variadic function g.
[variadic] tests/declared/multi.i:9: [variadic] multi.i:9: Generic translation of call to variadic function.
Generic translation of call to variadic function. [variadic] multi.i:18: Generic translation of call to variadic function.
[variadic] tests/declared/multi.i:18:
Generic translation of call to variadic function.
[eva] Analyzing a complete application starting at main [eva] Analyzing a complete application starting at main
[eva] Computing initial state [eva] Computing initial state
[eva] Initial state computed [eva] Initial state computed
[kernel] tests/declared/multi.i:18: Warning: [kernel] multi.i:18: Warning:
No code nor implicit assigns clause for function g, generating default assigns from the prototype No code nor implicit assigns clause for function g, generating default assigns from the prototype
[eva] using specification for function g [eva] using specification for function g
[kernel] tests/declared/multi.i:9: Warning: [kernel] multi.i:9: Warning:
No code nor implicit assigns clause for function f, generating default assigns from the prototype No code nor implicit assigns clause for function f, generating default assigns from the prototype
[eva] using specification for function f [eva] using specification for function f
[eva] done for function main [eva] done for function main
......
[eva] Analyzing a complete application starting at main [eva] Analyzing a complete application starting at main
[eva] Computing initial state [eva] Computing initial state
[eva] Initial state computed [eva] Initial state computed
[kernel:annot:missing-spec] tests/declared/no-va-with-ghost.i:4: Warning: [kernel:annot:missing-spec] no-va-with-ghost.i:4: Warning:
Neither code nor specification for function f, generating default assigns from the prototype Neither code nor specification for function f, generating default assigns from the prototype
[eva] using specification for function f [eva] using specification for function f
[eva] done for function main [eva] done for function main
......
[eva] Analyzing a complete application starting at main [eva] Analyzing a complete application starting at main
[eva] Computing initial state [eva] Computing initial state
[eva] Initial state computed [eva] Initial state computed
[kernel:annot:missing-spec] tests/declared/no-va.i:4: Warning: [kernel:annot:missing-spec] no-va.i:4: Warning:
Neither code nor specification for function f, generating default assigns from the prototype Neither code nor specification for function f, generating default assigns from the prototype
[eva] using specification for function f [eva] using specification for function f
[eva] done for function main [eva] done for function main
......
[variadic] tests/declared/rvalues-with-ghost.i:1: [variadic] rvalues-with-ghost.i:1: Declaration of variadic function f.
Declaration of variadic function f. [variadic] rvalues-with-ghost.i:5:
[variadic] tests/declared/rvalues-with-ghost.i:5:
Generic translation of call to variadic function. Generic translation of call to variadic function.
[eva] Analyzing a complete application starting at main [eva] Analyzing a complete application starting at main
[eva] Computing initial state [eva] Computing initial state
[eva] Initial state computed [eva] Initial state computed
[kernel:annot:missing-spec] tests/declared/rvalues-with-ghost.i:5: Warning: [kernel:annot:missing-spec] rvalues-with-ghost.i:5: Warning:
Neither code nor specification for function f, generating default assigns from the prototype Neither code nor specification for function f, generating default assigns from the prototype
[eva] using specification for function f [eva] using specification for function f
[eva] done for function main [eva] done for function main
......
[variadic] tests/declared/rvalues.i:1: Declaration of variadic function f. [variadic] rvalues.i:1: Declaration of variadic function f.
[variadic] tests/declared/rvalues.i:5: [variadic] rvalues.i:5: Generic translation of call to variadic function.
Generic translation of call to variadic function.
[eva] Analyzing a complete application starting at main [eva] Analyzing a complete application starting at main
[eva] Computing initial state [eva] Computing initial state
[eva] Initial state computed [eva] Initial state computed
[kernel:annot:missing-spec] tests/declared/rvalues.i:5: Warning: [kernel:annot:missing-spec] rvalues.i:5: Warning:
Neither code nor specification for function f, generating default assigns from the prototype Neither code nor specification for function f, generating default assigns from the prototype
[eva] using specification for function f [eva] using specification for function f
[eva] done for function main [eva] done for function main
......
[variadic] tests/declared/simple-with-ghost.i:1: [variadic] simple-with-ghost.i:1: Declaration of variadic function f.
Declaration of variadic function f. [variadic] simple-with-ghost.i:9:
[variadic] tests/declared/simple-with-ghost.i:9:
Generic translation of call to variadic function. Generic translation of call to variadic function.
[eva] Analyzing a complete application starting at main [eva] Analyzing a complete application starting at main
[eva] Computing initial state [eva] Computing initial state
[eva] Initial state computed [eva] Initial state computed
[kernel] tests/declared/simple-with-ghost.i:9: Warning: [kernel] simple-with-ghost.i:9: Warning:
No code nor implicit assigns clause for function f, generating default assigns from the prototype No code nor implicit assigns clause for function f, generating default assigns from the prototype
[eva] using specification for function f [eva] using specification for function f
[eva] done for function main [eva] done for function main
......
[variadic] tests/declared/simple.i:1: Declaration of variadic function f. [variadic] simple.i:1: Declaration of variadic function f.
[variadic] tests/declared/simple.i:9: [variadic] simple.i:9: Generic translation of call to variadic function.
Generic translation of call to variadic function.
[eva] Analyzing a complete application starting at main [eva] Analyzing a complete application starting at main
[eva] Computing initial state [eva] Computing initial state
[eva] Initial state computed [eva] Initial state computed
[kernel] tests/declared/simple.i:9: Warning: [kernel] simple.i:9: Warning:
No code nor implicit assigns clause for function f, generating default assigns from the prototype No code nor implicit assigns clause for function f, generating default assigns from the prototype
[eva] using specification for function f [eva] using specification for function f
[eva] done for function main [eva] done for function main
......
[variadic] tests/declared/struct.i:5: Declaration of variadic function f. [variadic] struct.i:5: Declaration of variadic function f.
[variadic] tests/declared/struct.i:10: [variadic] struct.i:10: Generic translation of call to variadic function.
Generic translation of call to variadic function.
[eva] Analyzing a complete application starting at main [eva] Analyzing a complete application starting at main
[eva] Computing initial state [eva] Computing initial state
[eva] Initial state computed [eva] Initial state computed
[kernel:annot:missing-spec] tests/declared/struct.i:10: Warning: [kernel:annot:missing-spec] struct.i:10: Warning:
Neither code nor specification for function f, generating default assigns from the prototype Neither code nor specification for function f, generating default assigns from the prototype
[eva] using specification for function f [eva] using specification for function f
[eva] done for function main [eva] done for function main
......
[variadic] tests/declared/typedefed_function-with-ghost.i:2: [variadic] typedefed_function-with-ghost.i:2:
Declaration of variadic function f. Declaration of variadic function f.
[variadic] tests/declared/typedefed_function-with-ghost.i:5: [variadic] typedefed_function-with-ghost.i:5:
Generic translation of call to variadic function. Generic translation of call to variadic function.
[eva] Analyzing a complete application starting at main [eva] Analyzing a complete application starting at main
[eva] Computing initial state [eva] Computing initial state
[eva] Initial state computed [eva] Initial state computed
[kernel:annot:missing-spec] tests/declared/typedefed_function-with-ghost.i:5: Warning: [kernel:annot:missing-spec] typedefed_function-with-ghost.i:5: Warning:
Neither code nor specification for function f, generating default assigns from the prototype Neither code nor specification for function f, generating default assigns from the prototype
[eva] using specification for function f [eva] using specification for function f
[eva] done for function main [eva] done for function main
......
[variadic] tests/declared/typedefed_function.i:2: [variadic] typedefed_function.i:2: Declaration of variadic function f.
Declaration of variadic function f. [variadic] typedefed_function.i:5:
[variadic] tests/declared/typedefed_function.i:5:
Generic translation of call to variadic function. Generic translation of call to variadic function.
[eva] Analyzing a complete application starting at main [eva] Analyzing a complete application starting at main
[eva] Computing initial state [eva] Computing initial state
[eva] Initial state computed [eva] Initial state computed
[kernel:annot:missing-spec] tests/declared/typedefed_function.i:5: Warning: [kernel:annot:missing-spec] typedefed_function.i:5: Warning:
Neither code nor specification for function f, generating default assigns from the prototype Neither code nor specification for function f, generating default assigns from the prototype
[eva] using specification for function f [eva] using specification for function f
[eva] done for function main [eva] done for function main
......
[variadic] tests/defined/annot-formal.c:4: Declaration of variadic function sum. [variadic] annot-formal.c:4: Declaration of variadic function sum.
[variadic] tests/defined/annot-formal.c:20: [variadic] annot-formal.c:20: Generic translation of call to variadic function.
Generic translation of call to variadic function.
[eva] Analyzing a complete application starting at main [eva] Analyzing a complete application starting at main
[eva] Computing initial state [eva] Computing initial state
[eva] Initial state computed [eva] Initial state computed
......
[variadic] tests/defined/annot-loc.c:4: Declaration of variadic function sum. [variadic] annot-loc.c:4: Declaration of variadic function sum.
[variadic] tests/defined/annot-loc.c:20: [variadic] annot-loc.c:20: Generic translation of call to variadic function.
Generic translation of call to variadic function.
[eva] Analyzing a complete application starting at main [eva] Analyzing a complete application starting at main
[eva] Computing initial state [eva] Computing initial state
[eva] Initial state computed [eva] Initial state computed
......
[variadic] tests/defined/empty-vpar.c:4: Declaration of variadic function sum. [variadic] empty-vpar.c:4: Declaration of variadic function sum.
[variadic] tests/defined/empty-vpar.c:19: [variadic] empty-vpar.c:19: Generic translation of call to variadic function.
Generic translation of call to variadic function.
[eva] Analyzing a complete application starting at main [eva] Analyzing a complete application starting at main
[eva] Computing initial state [eva] Computing initial state
[eva] Initial state computed [eva] Initial state computed
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment