Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wduplicated-branches2.C
blob: 7e14c5fb6cd62dfd33e1b5c851085ef0c665a467 [
file
] [
log
] [
blame
]
// PR c/64279
// { dg-do compile { target c++11 } }
// { dg-options "-Wduplicated-branches" }
template
<
typename
_ITp
>
struct
S
{
static
constexpr
int
i
=
sizeof
(
_ITp
)
>
alignof
(
_ITp
)
?
sizeof
(
_ITp
)
:
alignof
(
_ITp
);
};