mirror of
https://github.com/johndoe6345789/typthon.git
synced 2026-04-24 13:45:05 +00:00
17 lines
348 B
C
17 lines
348 B
C
#include <assert.h>
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
|
|
#include "typthon/runtime.h"
|
|
#include "typthon/version.h"
|
|
|
|
int main(void) {
|
|
const char *version = typthon_version();
|
|
assert(version != NULL);
|
|
assert(strlen(version) > 0);
|
|
|
|
printf("Typthon runtime version: %s\n", version);
|
|
typthon_print_banner(stdout);
|
|
return 0;
|
|
}
|