From 5b2422b1a7dc8b7bb55f83d046e7842dcbea29b1 Mon Sep 17 00:00:00 2001 From: Sven Gestegard Robertz <sven.robertz@cs.lth.se> Date: Wed, 25 Jun 2014 13:57:06 +0200 Subject: [PATCH] added simple example without typedefs --- examples/simple/notypes.lc | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 examples/simple/notypes.lc diff --git a/examples/simple/notypes.lc b/examples/simple/notypes.lc new file mode 100644 index 0000000..378fae5 --- /dev/null +++ b/examples/simple/notypes.lc @@ -0,0 +1,22 @@ +sample int AnInt; + +sample struct { + int x; + string s; +} IntString; + +sample struct { + double x; + double y; +} TwoDoubles; + +sample struct { + int fixed[2]; + int variable[2,_]; +} TwoArrays; + +sample struct { + int a[2]; + int b[2,3]; +} TwoFixedArrays; + -- GitLab