Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
compiler_backend_c_test.cc File Reference

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>
Include dependency graph for compiler_backend_c_test.cc:

Go to the source code of this file.

Functions

 TEST (CompilerBackendC, EmitsReadableGotoBasedC)
 
 TEST (CompilerBackendC, StandaloneGeneratedCCompilesAndRunsTopLevel)
 
 TEST (CompilerBackendC, LibraryStyleEmissionCanCallFunctionsDirectly)
 
 TEST (CompilerBackendC, GeneratedCRuntimeChecksSurfaceErrors)
 
 TEST (CompilerBackendC, IntegerBoundariesAreTheSameInEveryEngine)
 

Detailed Description

Tests for Compiler_Backend_C.H.

Definition in file compiler_backend_c_test.cc.

Function Documentation

◆ TEST() [1/5]

TEST ( CompilerBackendC  ,
EmitsReadableGotoBasedC   
)

◆ TEST() [2/5]

TEST ( CompilerBackendC  ,
GeneratedCRuntimeChecksSurfaceErrors   
)

◆ TEST() [3/5]

TEST ( CompilerBackendC  ,
IntegerBoundariesAreTheSameInEveryEngine   
)

Definition at line 684 of file compiler_backend_c_test.cc.

References engine, and value.

◆ TEST() [4/5]

TEST ( CompilerBackendC  ,
LibraryStyleEmissionCanCallFunctionsDirectly   
)

◆ TEST() [5/5]

TEST ( CompilerBackendC  ,
StandaloneGeneratedCCompilesAndRunsTopLevel   
)