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