ppc: testfaelle fuer ppc32 'portiert'
[testub10.git] / scripts / callingconvention.c
diff --git a/scripts/callingconvention.c b/scripts/callingconvention.c
new file mode 100644 (file)
index 0000000..deb1db1
--- /dev/null
@@ -0,0 +1,13 @@
+/* gcc -c -fomit-frame-pointer -fno-defer-pop callingconvention.c */
+
+#include <stdlib.h>
+
+extern int call(void);
+
+#define CHECKNUM 0x1234567812345678
+long callchecking() 
+{
+  long ret;
+  ret=call();
+  return ret;
+}