aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp23/auto-fncast14.C
blob: 9e7a06c87d51c904c74333a1381c50a070dbf8f0 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/112410
// { dg-do compile { target c++23 } }

struct A {
   A(int,int);
};

int a;
A b1(auto(a), 42);