Lines Matching refs:sr
79 void g(ShortRef sr, LongRef lr, E2Ref e2_ref, XpmfRef pmf_ref) {
81 short s1 = sr++;
87 short& sr1 = (sr *= lr);
88 volatile long& lr1 = (lr *= sr);
99 short& sr2 = (sr %= lr);
100 volatile long& lr2 = (lr <<= sr);
102 bool b1 = (sr && lr) || (sr || lr);
121 void test_with_ptrs(VolatileIntPtr vip, ConstIntPtr cip, ShortRef sr,
123 const int& cir1 = cip[sr];
124 const int& cir2 = sr[cip];
125 volatile int& vir1 = vip[sr];
126 volatile int& vir2 = sr[vip];
141 int i1 = +sr;
142 int i2 = -sr;
151 void test_assign_restrictions(ShortRef& sr) {
152 sr = (short)0; // expected-error{{no viable overloaded '='}}