1 // RUN: %clang_cc1 -verify -fopenmp %s -Wuninitialized
3 // RUN: %clang_cc1 -verify -fopenmp-simd %s -Wuninitialized
6 int x
; // expected-note {{initialize the variable 'x' to silence this warning}}
8 argc
= x
; // expected-warning {{variable 'x' is uninitialized when used here}}
16 #pragma omp taskgroup unknown // expected-warning {{extra tokens at the end of '#pragma omp taskgroup' are ignored}}
20 } // expected-error {{expected statement}}
23 for (int i
= 0; i
< 10; ++i
) {
27 for (int j
= 0; j
< 10; j
++) {
35 for (int i
= 0; i
< 10; ++i
) {
39 for (int j
= 0; j
< 10; j
++) {
46 for (int i
= 0; i
< 10; ++i
) {
50 for (int j
= 0; j
< 10; j
++) {
65 goto L1
; // expected-error {{use of undeclared label 'L1'}}
67 goto L2
; // expected-error {{use of undeclared label 'L2'}}
74 #pragma omp taskgroup initi // expected-warning {{extra tokens at the end of '#pragma omp taskgroup' are ignored}}