From 8ee23054bf771e56802ce21d70229b7f8f2e9654 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 15 Sep 2024 17:34:34 -0400 Subject: Update Inline C syntax and documentation/tests --- test/inline_c.tm | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/inline_c.tm (limited to 'test/inline_c.tm') diff --git a/test/inline_c.tm b/test/inline_c.tm new file mode 100644 index 00000000..876e78fd --- /dev/null +++ b/test/inline_c.tm @@ -0,0 +1,8 @@ + +func main(): + >> inline C:Int32 { int x = 1 + 2; x } + = 3[32] + + >> inline C { + say(Text("Inline C code works!"), true); + } -- cgit v1.2.3