aboutsummaryrefslogtreecommitdiff
path: root/gfsm/gfsm/src/libgfsm/tests/commatest.c
diff options
context:
space:
mode:
Diffstat (limited to 'gfsm/gfsm/src/libgfsm/tests/commatest.c')
-rw-r--r--gfsm/gfsm/src/libgfsm/tests/commatest.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gfsm/gfsm/src/libgfsm/tests/commatest.c b/gfsm/gfsm/src/libgfsm/tests/commatest.c
new file mode 100644
index 0000000..b704970
--- /dev/null
+++ b/gfsm/gfsm/src/libgfsm/tests/commatest.c
@@ -0,0 +1,8 @@
+#include <stdio.h>
+
+int main (void) {
+ int x = 0;
+
+ x = 1, printf("foo\n"), printf("bar\n"), x=2, printf("%d\n", x);
+ return 0;
+}