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 ebb88e0f02f7616818ccc5235971a861afdd5724..d771ce4368c0d8e0334826134f17bd4292323b0d 100644
(file)
--- a/
test.c
+++ b/
test.c
@@
-1,16
+1,9
@@
#include <stdio.h>
-#include <stddef.h>
-struct pair {
- int x, y;
-};
-
-int func() {
- return 3;
-}
+int test();
int main() {
- int
b
;
-
b = (int a = func()
);
- return
0
;
+ int
a = test()
;
+
printf("%d\n", a
);
+ return
1
;
}