Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNumbat committed Jan 6, 2024
1 parent 4ed3792 commit b6afd2b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/arrays.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
#include <heap.h>
#include <stack.h>

struct X {
X(i32 i) : i{i} {
}
i32 i;
};

i32 main() {

Profile::start_thread();
Expand Down Expand Up @@ -49,6 +55,8 @@ i32 main() {

Array<Thread::Mutex, 2> m;

Array<X, 2> xes{X{1}, X{2}};

(void)f;
}
Trace("Vec") {
Expand Down

0 comments on commit b6afd2b

Please sign in to comment.