Debian Codegraph @

gcc/testsuite/g++.dg/warn/Wduplicated-branches2.C

raw
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 };