[cfe-dev] Clang fails to compile

kamlesh kumar via cfe-dev cfe-dev at lists.llvm.org
Thu Oct 31 09:18:32 PDT 2019


Hi Devs,
Consider below testcase

$cat test.cpp

struct A
{
struct B
{
double m = 0.;
};
void f(double d, const B &b = B{}) {}
};

==============

clang fails fails to compile above tescase ,while it goes smooth with
icc and msvc.
is clang doing right?

./Kamlesh



More information about the cfe-dev mailing list