repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wduplicated-branches2.C
blob
7e14c5fb6cd62dfd33e1b5c851085ef0c665a467
1
// PR c/64279
2
// { dg-do compile { target c++11 } }
3
// { dg-options "-Wduplicated-branches" }
4
5
template<typename _ITp>
6
struct S {
7
static constexpr int i = sizeof(_ITp) > alignof(_ITp) ? sizeof(_ITp) : alignof(_ITp);
8
};