summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/overload/reftemp1.C
blob: 89f941817ce6bf674cf9918d4228783dedfcf74f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// PR c++/25950

struct X {
  X();
  explicit X(const X&);
};

void g(const X&);

int main()
{
  g(X());
}