This commit is contained in:
2025-05-11 21:51:54 +03:00
parent b8613caf2a
commit 8be9917349
147 changed files with 7255 additions and 49 deletions

18
test/Makefile Normal file
View File

@@ -0,0 +1,18 @@
all: ../build/libc+ test compile_commands.json
clean:
rm -rf test *.o compile_commands.json
test: test.o
cc -o $@ $^ -L../build -l:libc+.a # -nostdlib++ -lsupc++
%.o: %.cpp
cc -c -o $@ $< -std=c++23 -I../src/include # -nostdinc++
../build/libc+:
$(MAKE) -C ../
compile_commands.json:
compiledb -n make

BIN
test/test Executable file

Binary file not shown.

7
test/test.cpp Normal file
View File

@@ -0,0 +1,7 @@
#include <type_traits>
int main(int argc, char* argv[]) {
std
return 0;
}