Lines Matching refs:shared
16 static float S2s; // expected-note {{static data member is predetermined as shared}}
25 const S3 c; // expected-note {{global variable is predetermined as shared}}
26 const S3 ca[5]; // expected-note {{global variable is predetermined as shared}}
27 extern const int f; // expected-note {{global variable is predetermined as shared}}
53 const int d = 5; // expected-note {{constant variable is predetermined as shared}}
54 const int da[5] = { 0 }; // expected-note {{constant variable is predetermined as shared}}
84 #pragma omp teams private (a, b, c, d, f) // expected-error {{a private variable with incomplete type 'S1'}} expected-error 3 {{shared variable cannot be private}}
93 #pragma omp teams private(ca) // expected-error {{shared variable cannot be private}}
96 #pragma omp teams private(da) // expected-error {{shared variable cannot be private}}
99 #pragma omp teams private(S2::S2s) // expected-error {{shared variable cannot be private}}
108 #pragma omp teams shared(i), private(i) // expected-error {{shared variable cannot be private}} expected-note {{defined as shared}}