Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/cpp1y/constexpr-static1.C @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
line wrap: on
line source
// PR c++/94523 // { dg-do compile { target c++14 } } template <bool, typename a> using b = a; struct d { char ao; template <typename ap> constexpr d(ap) : ao{} {} }; template <int... au> struct e { static constexpr auto aw = d(au...); }; template <int c> b<c, d> ax(e<1>::aw);