|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Tests for Compiler_Backend_C.H. More...
#include <gtest/gtest.h>#include <atomic>#include <chrono>#include <climits>#include <cstdlib>#include <filesystem>#include <fstream>#include <memory>#include <string>#include <vector>#include <unistd.h>#include <Bytecode.H>#include <Bytecode_Interpreter.H>#include <Compiler_Backend_C.H>#include <Compiler_Dataflow.H>#include <Compiler_HIR.H>#include <Compiler_IR.H>#include <Compiler_Parser.H>#include <Compiler_Typed_Sema.H>#include <Interpreter_Runtime.H>Go to the source code of this file.
Functions | |
| TEST (CompilerBackendC, EmitsReadableGotoBasedC) | |
| TEST (CompilerBackendC, StandaloneGeneratedCCompilesAndRunsTopLevel) | |
| TEST (CompilerBackendC, LibraryStyleEmissionCanCallFunctionsDirectly) | |
| TEST (CompilerBackendC, GeneratedCRuntimeChecksSurfaceErrors) | |
| TEST (CompilerBackendC, IntegerBoundariesAreTheSameInEveryEngine) | |
Tests for Compiler_Backend_C.H.
Definition in file compiler_backend_c_test.cc.
| TEST | ( | CompilerBackendC | , |
| EmitsReadableGotoBasedC | |||
| ) |
Definition at line 491 of file compiler_backend_c_test.cc.
References Aleph::compiler_emit_c_module(), Aleph::Compiler_C_Backend_Options::module_name, and options.
| TEST | ( | CompilerBackendC | , |
| GeneratedCRuntimeChecksSurfaceErrors | |||
| ) |
Definition at line 567 of file compiler_backend_c_test.cc.
References Aleph::compiler_emit_c_module(), Aleph::Compiler_C_Backend_Options::module_name, and options.
| TEST | ( | CompilerBackendC | , |
| IntegerBoundariesAreTheSameInEveryEngine | |||
| ) |
Definition at line 684 of file compiler_backend_c_test.cc.
| TEST | ( | CompilerBackendC | , |
| LibraryStyleEmissionCanCallFunctionsDirectly | |||
| ) |
Definition at line 533 of file compiler_backend_c_test.cc.
References Aleph::compiler_emit_c_module(), Aleph::Compiler_C_Backend_Options::module_name, and options.
| TEST | ( | CompilerBackendC | , |
| StandaloneGeneratedCCompilesAndRunsTopLevel | |||
| ) |
Definition at line 509 of file compiler_backend_c_test.cc.
References Aleph::compiler_emit_c_module(), Aleph::Compiler_C_Backend_Options::module_name, and options.