| // RUN: %clang_cc1 -verify -fopenmp %s -Wuninitialized |
| // RUN: %clang_cc1 -verify -fopenmp-simd %s -Wuninitialized |
| int x; // expected-note {{initialize the variable 'x' to silence this warning}} |
| argc = x; // expected-warning {{variable 'x' is uninitialized when used here}} |
| #pragma omp taskgroup unknown // expected-warning {{extra tokens at the end of '#pragma omp taskgroup' are ignored}} |
| } // expected-error {{expected statement}} |
| for (int i = 0; i < 10; ++i) { |
| for (int j = 0; j < 10; j++) { |
| for (int i = 0; i < 10; ++i) { |
| for (int j = 0; j < 10; j++) { |
| for (int i = 0; i < 10; ++i) { |
| for (int j = 0; j < 10; j++) { |
| goto L1; // expected-error {{use of undeclared label 'L1'}} |
| goto L2; // expected-error {{use of undeclared label 'L2'}} |
| #pragma omp taskgroup initi // expected-warning {{extra tokens at the end of '#pragma omp taskgroup' are ignored}} |