projects
/
cdsspec-compiler.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor fix
[cdsspec-compiler.git]
/
test.c
diff --git
a/test.c
b/test.c
index b279809005cdebfc77f40ef6a8ecad4548f73c36..d771ce4368c0d8e0334826134f17bd4292323b0d 100644
(file)
--- a/
test.c
+++ b/
test.c
@@
-1,15
+1,9
@@
-# include <stdio.h>
-#include <stdlib.h>
-#include <stdint.h>
+#include <stdio.h>
-typedef struct A {
-
-} A;
+int test();
int main() {
int main() {
- uint64_t i64 = (uint64_t) NULL;
- A *a = (A*) malloc (sizeof(A));
- printf("%d\n", sizeof(A));
+ int a = test();
printf("%d\n", a);
return 1;
}
printf("%d\n", a);
return 1;
}