make code look better
[cdsspec-compiler.git] / test.c
diff --git a/test.c b/test.c
index 0333725e45bc790405032234454bc3311ef54a08..d771ce4368c0d8e0334826134f17bd4292323b0d 100644 (file)
--- a/test.c
+++ b/test.c
@@ -1,33 +1,9 @@
 #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 test();
 
 int main() {
-       printf("%d\n", b);
-       return 0;
+       int a = test();
+       printf("%d\n", a);
+       return 1;
 }