projects
/
cdsspec-compiler.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tweak
[cdsspec-compiler.git]
/
test.c
diff --git
a/test.c
b/test.c
index 5a4776cce8ff204bf5ae50c1d044c2565da74463..ebb88e0f02f7616818ccc5235971a861afdd5724 100644
(file)
--- a/
test.c
+++ b/
test.c
@@
-1,11
+1,16
@@
#include <stdio.h>
+#include <stddef.h>
struct pair {
int x, y;
};
+int func() {
+ return 3;
+}
+
int main() {
-#include "test.h"
-
printf("%d\n", globalVar
);
+ int b;
+
b = (int a = func()
);
return 0;
}