Skip to content

Simple test #6

Description

@SuperJMN

Hello @praeclarum! I'm trying to use your CLanguage. I'm a bit lost.

This is what I have so far:

public class UnitTest1
{
    [Fact]
    public void Test1()
    {
        var sut = new CCompiler(new CompilerOptions(new MachineInfo()));
        sut.AddDocument(new Document("file.c", "int main { return 123; }"));
        var ex = sut.Compile();
    }
}

How do I get the 123 that results after the execution of the program?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions