Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
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
)];