Lines Matching defs:int
10 int a;
14 S(int a) : a(a) {}
15 operator int() { return a; }
21 int a;
30 int foo() {
33 int r;
56 // expected-error@+2 {{predetermined as a firstprivate in a task construct variable cannot be of reference type 'int &'}}
61 // expected-error@+2 {{predetermined as a firstprivate in a task construct variable cannot be of reference type 'int &'}}
87 for (int i = 0; i < 10; ++i)
95 for (int i = 0; i < 10; ++i)
102 for (int i = 0; i < 10; ++i)
121 int main(int argc, char **argv) {
122 int a;
123 int &b = a; // expected-note 2 {{'b' defined here}}
126 int r;
153 for (int i = 0; i < 10; ++i) {
180 for (int n = 0; n < 100; ++n) {
195 // expected-error@+1 {{predetermined as a firstprivate in a task construct variable cannot be of reference type 'int &'}}
199 // expected-error@+1 {{predetermined as a firstprivate in a task construct variable cannot be of reference type 'int &'}}
250 for (int i = 0; i < 10; ++i)
258 for (int i = 0; i < 10; ++i)
265 for (int i = 0; i < 10; ++i)
281 // expected-note@+2 {{in instantiation of function template specialization 'foo<int>' requested here}}
283 return foo<int>() + foo<S>();