summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/statements.c
blob: 0e1b33fe2db5818beb0a0296165c034dcef05b50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// RUN: clang -fsyntax-only %s

int test1() {
  { ; {  ;;}} ;;
}

int test2() {
  if (0) { if (1) {} } else { }

  do { } while (0); 
  
  while (0) while(0) do ; while(0);

  for (0;0;0)
    for (;;)
      for (9;0;2)
        ;
  for (int X = 0; 0; 0);
}
OpenPOWER on IntegriCloud