Lines Matching defs:int
6 bool foobool(int argc) {
13 mutable int a;
26 int a;
33 int operator+(const S3 &arg1, const S3 &arg2) { return 5; }
36 extern const int f; // expected-note 4 {{'f' declared here}}
38 int a;
44 S4(int v) : a(v) {}
48 int a;
54 S5(int v) : a(v) {}
56 class S6 { // expected-note 2 {{candidate function (the implicit copy assignment operator) not viable: no known conversion from 'int' to 'const S6' for 1st argument}}
57 int a;
61 operator int() { return 6; }
75 const T &r = da[(int)i]; // expected-note 2 {{'r' defined here}}
76 T &q = qa[(int)i]; // expected-note 2 {{'q' defined here}}
133 #pragma omp teams reduction(- : da) // expected-error {{a reduction variable with array type 'const int [5]'}} expected-error {{a reduction variable with array type 'const float [5]'}}
171 for (int i = 0; i < 10; ++i)
178 for (int i = 0; i < 10; ++i)
194 int main(int argc, char **argv) {
195 const int d = 5; // expected-note 2 {{'d' defined here}}
196 const int da[5] = {0}; // expected-note {{'da' defined here}}
197 int qa[5] = {0};
200 int i;
201 int &j = i; // expected-note 2 {{'j' defined here}}
203 const int &r = da[i]; // expected-note {{'r' defined here}}
204 int &q = qa[i]; // expected-note {{'q' defined here}}
261 #pragma omp teams reduction(- : da) // expected-error {{a reduction variable with array type 'const int [5]'}}
302 for (int i = 0; i < 10; ++i)
309 for (int i = 0; i < 10; ++i)
314 return tmain(argc) + tmain(fl); // expected-note {{in instantiation of function template specialization 'tmain<int>' requested here}} expected-note {{in instantiation of function template specialization 'tmain<float>' requested here}}