https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85695
--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Author: mpolacek Date: Tue May 8 19:38:51 2018 New Revision: 260051 URL: https://gcc.gnu.org/viewcvs?rev=260051&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: branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp1z/constexpr-if22.C Modified: branches/gcc-8-branch/gcc/cp/ChangeLog branches/gcc-8-branch/gcc/cp/semantics.c branches/gcc-8-branch/gcc/testsuite/ChangeLog