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}}
114 #pragma omp parallel reduction(- : da) // expected-error {{a reduction variable with array type 'const int [5]'}} expected-error {{a reduction variable with array type 'const float [5]'}}
141 for (int i = 0; i < 10; ++i)
146 for (int i = 0; i < 10; ++i)
161 int main(int argc, char **argv) {
162 const int d = 5; // expected-note 2 {{'d' defined here}}
163 const int da[5] = {0}; // expected-note {{'da' defined here}}
164 int qa[5] = {0};
167 int i;
168 int &j = i; // expected-note 2 {{'j' defined here}}
170 const int &r = da[i]; // expected-note {{'r' defined here}}
171 int &q = qa[i]; // expected-note {{'q' defined here}}
209 #pragma omp parallel reduction(- : da) // expected-error {{a reduction variable with array type 'const int [5]'}}
238 for (int i = 0; i < 10; ++i)
243 for (int i = 0; i < 10; ++i)
247 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}}