diff options
author | Matthew Sotoudeh <matthew@masot.net> | 2023-07-25 14:58:33 -0700 |
---|---|---|
committer | Matthew Sotoudeh <matthew@masot.net> | 2023-07-25 14:58:33 -0700 |
commit | 1d943da0cf9154e7ce78ce867cdbb91531c5d78e (patch) | |
tree | 40c5c6c3ba7fafa6567aa5b5aa216caecf3935fc /tests/no_includes.c |
initial dietc commit
Diffstat (limited to 'tests/no_includes.c')
-rw-r--r-- | tests/no_includes.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/no_includes.c b/tests/no_includes.c new file mode 100644 index 0000000..89796d0 --- /dev/null +++ b/tests/no_includes.c @@ -0,0 +1,15 @@ +typedef struct ___dietc_va_list { char ___dietc_va_list[24]; } va_list; + +void foo(int x, int y) { + x = y; + va_list z; + va_list a; + z = a; +} + +int main() { + int x = 5; + int y = 7; + x = y; + return x; +} |