Lines Matching refs:argc
6 bool foobool(int argc) {
7 return argc;
13 int tmain(T argc, S **argv) {
17 #pragma omp task priority (argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
18 #pragma omp task priority (argc)) // expected-warning {{extra tokens at the end of '#pragma omp task' are ignored}}
19 #pragma omp task priority (argc > 0 ? argv[1][0] : argv[2][argc])
20 #pragma omp task priority (foobool(argc)), priority (true) // expected-error {{directive '#pragma omp task' cannot contain more than one 'priority' clause}}
22 #pragma omp task priority (argc argc) // expected-error {{expected ')'}} expected-note {{to match this '('}}
30 int main(int argc, char **argv) {
34 #pragma omp task priority (argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
35 #pragma omp task priority (argc)) // expected-warning {{extra tokens at the end of '#pragma omp task' are ignored}}
36 #pragma omp task priority (argc > 0 ? argv[1][0] : argv[2][argc])
37 #pragma omp task priority (foobool(argc)), priority (true) // expected-error {{directive '#pragma omp task' cannot contain more than one 'priority' clause}}
39 #pragma omp task priority (argc argc) // expected-error {{expected ')'}} expected-note {{to match this '('}}
41 #pragma omp task priority(if(tmain(argc, argv) // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
46 return tmain(argc, argv);