Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
sizeof9.C
blob: 84400d3a364c6ea41e699d45bff8422a1ad6ce2b [
file
] [
log
] [
blame
]
// PR c++/21025
template
<
int
N
>
struct
X
{
char
x
[
N
];
};
template
<
typename
T
>
X
<
1
+
sizeof
(
T
)
-
sizeof
(
T
)>
F
(
T
const
&);
template
<
int
N
>
struct
S
{
int
d
()
{
F
(
1
);
return
S
();
}
};