https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85695
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Author: mpolacek Date: Tue May 8 19:30:57 2018 New Revision: 260049 URL: https://gcc.gnu.org/viewcvs?rev=260049&root=gcc&view=rev Log: PR c++/85695 * semantics.c (finish_if_stmt_cond): See through typedefs. * g++.dg/cpp1z/constexpr-if22.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp1z/constexpr-if22.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/semantics.c trunk/gcc/testsuite/ChangeLog