1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
---|---|
2 | // expected-no-diagnostics |
3 | |
4 | void test() { |
5 | int x; |
6 | do |
7 | int x; |
8 | while (1); |
9 | } |
10 |
1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
---|---|
2 | // expected-no-diagnostics |
3 | |
4 | void test() { |
5 | int x; |
6 | do |
7 | int x; |
8 | while (1); |
9 | } |
10 |