Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
overload13.C
blob: d41ccd01a93460dbbfae4fc00e4284d7b2b9ccb5 [
file
] [
log
] [
blame
]
// PR c++/56998
class
Secret
;
char
IsNullLiteralHelper
(
Secret
*
p
);
char
(&
IsNullLiteralHelper
(...))[
2
];
struct
C
{
int
val
()
{
return
42
;
}
};
template
<
typename
T
>
unsigned
f
()
{
return
sizeof
(
IsNullLiteralHelper
(
C
().
val
()));
}