almost complte code example
[cdsspec-compiler.git] / test.c
diff --git a/test.c b/test.c
index 2dec27eceb3b6ac000f73b34cd581585e452b24f..0333725e45bc790405032234454bc3311ef54a08 100644 (file)
--- a/test.c
+++ b/test.c
@@ -1,14 +1,33 @@
 #include <stdio.h>
 #include "test.h"
+#include "test.h"
+
+struct pair {
+       int x, y;
+};
+
+struct pair p[] = {{1,2}, {2,3}};
 
+enum E {
+       a, b, c
+};
+const int inte = 3;
 void _foo(struct Test t) {
+       for (int i = 0; i < 10; i++) {
+               int j;
+       }
        printf("%d\n", t.x);
 }
 
 void foo(struct Test t) {
+       int num[] = {5, 3};
        _foo(t);
 }
 
+void func() {
+}
+
 int main() {
+       printf("%d\n", b);
        return 0;
 }