new test main with code directly (fixes)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { Log } from @sdk:log;
|
||||
import { Input } from @sdk:input;
|
||||
|
||||
fn frame() -> void
|
||||
{
|
||||
if (Input.pad().a().pressed())
|
||||
{
|
||||
Log.debug("Hello World!");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
pub fn frame() -> void;
|
||||
@@ -1 +0,0 @@
|
||||
module-a.barrel: content
|
||||
@@ -1,3 +0,0 @@
|
||||
fn a1()
|
||||
{
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
fn a2(v1: int, v2: bounded): int
|
||||
{
|
||||
return v1 + v2;
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
fn a3(): int
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
Reference in New Issue
Block a user