Sign in
gnu
/
gcc
/
772d532e0ba1e4b22c2b7d576e14b34ee929c093
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype82a.C
blob: cbbcdfd8e586500639f05feadaae017d3a54f13a [
file
] [
log
] [
blame
]
// PR c++/105931
// { dg-do compile { target c++11 } }
// A version of decltype82.C where N is unsigned.
template
<
unsigned
N
>
void
f
()
{
using
ty1
=
decltype
((
5
%
N
)
==
0
);
using
ty2
=
decltype
((
5
/
N
)
==
0
);
}
template
void
f
<
0
>();