Debian Codegraph @

gcc/testsuite/g++.dg/cpp23/auto-fncast9.C

raw
1 // PR c++/103401
2 // { dg-do compile { target c++23 } }
3
4 void f1(decltype(new auto{0}));
5 void f2(decltype(new int{0}));
6
7 void
8 g ()
9 {
10 int i;
11 void f3(decltype(new auto{0}));
12 void f4(decltype(new int{0}));
13 f1 (&i);
14 f2 (&i);
15 f3 (&i);
16 f4 (&i);
17 }