#pragma omp target teams distribute simd map(alloc) // expected-error {{use of undeclared identifier 'alloc'}}
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(to argc // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{expected ',' or ')' in 'map' clause}}
#pragma omp target teams distribute simd map(tofrom: t[:I])
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(T: a) // expected-error {{incorrect map type, expected one of 'to', 'from', 'tofrom', 'alloc', 'release', or 'delete'}} expected-error {{incomplete type 'S1' where a complete type is required}}
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(T) // expected-error {{'T' does not refer to a value}}
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(I) // expected-error 2 {{expected expression containing only member accesses and/or array sections based on named variables}}
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(S2::S2s)
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(S2::S2sc)
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(x)
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(to: x)
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(to: to)
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(to)
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(to, x)
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(to x) // expected-error {{expected ',' or ')' in 'map' clause}}
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(tofrom: argc > 0 ? x : y) // expected-error 2 {{expected expression containing only member accesses and/or array sections based on named variables}}
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(argc)
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(S1) // expected-error {{'S1' does not refer to a value}}
#pragma omp target teams distribute simd map(S2::S2s)
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(S2::S2sc)
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(e, g)
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(h) // expected-error {{threadprivate variables are not allowed in 'map' clause}}
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(k), map(k) // expected-error 2 {{variable already marked as mapped in current construct}} expected-note 2 {{used here}}
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(k), map(k[:5]) // expected-error 2 {{pointer cannot be mapped along with a section derived from itself}} expected-note 2 {{used here}}
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(da)
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(da[:4])
#pragma omp target teams distribute simd map(alloc) // expected-error {{use of undeclared identifier 'alloc'}}
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(to argc // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{expected ',' or ')' in 'map' clause}}
#pragma omp target teams distribute simd map(to: x)
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(to: to)
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(to)
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(to, x)
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(to x) // expected-error {{expected ',' or ')' in 'map' clause}}
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(tofrom: argc > 0 ? argv[1] : argv[2]) // expected-error {{expected expression containing only member accesses and/or array sections based on named variables}}
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(argc)
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(S1) // expected-error {{'S1' does not refer to a value}}
#pragma omp target teams distribute simd map(S2::S2s)
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(S2::S2sc)
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(e, g)
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(h) // expected-error {{threadprivate variables are not allowed in 'map' clause}}
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(k), map(k) // expected-error {{variable already marked as mapped in current construct}} expected-note {{used here}}
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(k), map(k[:5]) // expected-error {{pointer cannot be mapped along with a section derived from itself}} expected-note {{used here}}
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(da)
for(i=0;i<argc;++i)foo();
#pragma omp target teams distribute simd map(da[:4])