test.cvc 477 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #include "civic.h"
  2. export int glob = 0;
  3. void empty() {}
  4. void foo() {
  5. int i = 0;
  6. void bar() {
  7. i = 1;
  8. }
  9. }
  10. export int main() {
  11. int i = 0;
  12. int a = i + 1;
  13. /* ad asd
  14. *
  15. * test
  16. * */
  17. for (int j = 0, i)
  18. a = a + 1;
  19. if (a > 0) {
  20. i = 1;
  21. if (a < 5)
  22. i = 2;
  23. } else {
  24. i = 3;
  25. }
  26. while (true)
  27. printInt(i);
  28. do
  29. a = a + 1;
  30. while (false);
  31. return 0;
  32. }