diff options
Diffstat (limited to 'c_compiler/test/in/ComplexAssignment.c')
-rw-r--r-- | c_compiler/test/in/ComplexAssignment.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/c_compiler/test/in/ComplexAssignment.c b/c_compiler/test/in/ComplexAssignment.c new file mode 100644 index 0000000..394cedb --- /dev/null +++ b/c_compiler/test/in/ComplexAssignment.c @@ -0,0 +1,20 @@ +int main() +{ + int a = 5; + int b = 49; + int c = 239; + int d = 23; + int f = 234; + int g = 12; + + a = d; + b = f; + g = f; + a = g; + d = g; + a = d; + g = c; + c = a; + a = f; + return a; +} |