Debian Codegraph @

gcc/testsuite/g++.dg/ext/is_constructible6.C

raw
1 // Verify we respect the order of trailing arguments passed to
2 // __is_constructible.
3
4 struct A { };
5 struct B { };
6 struct C { C(A, B); };
7
8 extern int n[true];
9 extern int n[ __is_constructible(C, A, B)];
10 extern int n[!__is_constructible(C, B, A)];