minor fix
[cdsspec-compiler.git] / test.cc
diff --git a/test.cc b/test.cc
index b9b6ed37cc09c97281a9fa8a31c0165e95da042c..56bc5546c28d0754ecd48157094eca5ce6b92b00 100644 (file)
--- a/test.cc
+++ b/test.cc
@@ -1,28 +1,3 @@
-#include <stdio.h>
-
-typedef void (*action_t)(void*);
-
-class Class {
-       public:
-       struct A {
-               int &a;
-       };
-       
-       void action(void *info) {
-               printf("abc\n");
-       }
-
-       Class() {
-               action_t inst = (action_t) &Class::action;
-               //(*inst)(NULL);
-       }
-};
-
-int main() {
-       Class a;
-       Class &b = a;
-       Class *c = &b;
-       printf("%d\n", &b);
-       printf("%d\n", &c);
-       return 1;
+extern int test() {
+       return 10;
 }