aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/init/assign2.C
blob: 72d1264f3c9119a77bf7d062fbd245209486171f (plain)
1
2
3
4
5
6
// PR c++/59950

 struct Foo {};

 int f(Foo *p);
 int n = f(&(Foo() = Foo()));