Sign in
android
/
toolchain
/
gcc
/
donut
/
.
/
gcc-4.3.1
/
gcc
/
testsuite
/
g++.dg
/
template
/
sizeof9.C
blob: 8d9ec95ae1f030ca0f665caa6c29e2d7219e49cb [
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
);
}
};