aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.law/operators14.C
blob: d0ec8a4a5d1c6952ec5b713c8a89b18d60bbd5b1 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }
// GROUPS passed operators
void foo (int * a, int * b, int * c) {}

int main() {
	int a,b,c;
	foo (&a, &b, &c);
	(a = b) = c;
}