aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/CodeExtractor/loops-no-output.c
blob: 5f96c04cb1e07c409c59c31670963f3aaf1fac20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <stdio.h>

int main(int argc, char *argv[]) {
  int i;
  for (i=0; i < 5; ++i)
    printf("%d\n", i);

  printf("separator!\n");
  
  for (i=0; i < 4; ++i)
    printf("[%d]\n", i+5);
  return 0;
}