Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
sizeof3.C
blob: 7c9d0d2c9da22423db13d00850212d7de7f57a4c [
file
] [
log
] [
blame
]
// The call to f is not potentially evaluated (3.2), so f<int> is not used,
// so it should not be required.
template
<
class
T
>
T f
(
T
)
{
typename
T
::
X x
;
}
int
main
()
{
int
i
=
sizeof
(
f
(
0
));
}