Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
is_constructible6.C
blob: 7fce153fa759e63c9bf1b6b6f1fcbc2ee01dbd76 [
file
] [
log
] [
blame
]
// Verify we respect the order of trailing arguments passed to
// __is_constructible.
struct
A
{
};
struct
B
{
};
struct
C
{
C
(
A
,
B
);
};
extern
int
n
[
true
];
extern
int
n
[
__is_constructible
(
C
,
A
,
B
)];
extern
int
n
[!
__is_constructible
(
C
,
B
,
A
)];