: unassigned at gcc dot gnu.org
Reporter: tyker at outlook dot com
Target Milestone: ---
I know that consteval virtual is not yet supported. but not crashing seems like
that bare minimum.
gcc trunk currently crashes on the following code.
struct A {
consteval virtual int f
: unassigned at gcc dot gnu.org
Reporter: tyker at outlook dot com
Target Milestone: ---
the following code make gcc trunk crash
void f() {
auto l = [](auto... args, decltype(args)...){};
l(0);
}
https://godbolt.org/z/kjwbcW
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: tyker at outlook dot com
Target Milestone: ---
the following code is valid according to clang, msvc and icc but not gcc:
template
struct A {
int test(T* Ptr) {
return Ptr->type::t
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: tyker at outlook dot com
Target Milestone: ---
currently gcc accepts the folowing:
```
template
struct A {};
static thread_local int b;
A a;
```
this is not valid.
http://eel.is/c
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: tyker at outlook dot com
Target Milestone: ---
gcc currently allows the following code:
template struct tuple { tuple(T); };
template explicit tuple(T t) -> tuple;
tupl
: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: tyker at outlook dot com
Target Milestone: ---
with gcc, the following code doesn't emit an error if INCORRECT is set.
struct A {
A() {}
};
template
struct D : A {
#ifdef INCORRECT
int& r;
#endif
};
struc
erity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: tyker at outlook dot com
Target Milestone: ---
in this code:
#include
struct X {
X() noexcept { }
private:
static void operator delete(void*);
};
int