https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91119
--- Comment #2 from Adhokshaj Mishra ---
(In reply to Andrew Pinski from comment #1)
> No GCC is correct. There is another section which you missed made this code
> invalid but no diagnostic is required.
Can you please point to the section whic
++
Assignee: unassigned at gcc dot gnu.org
Reporter: me at adhokshajmishraonline dot in
Target Milestone: ---
Test code
-
class A {};
class B {
using C = A;
enum D {
A,
};
};
When the above code is compiled using g++ (g++ -c test.cpp -o test.o), the
compiler
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: me at adhokshajmishraonline dot in
Target Milestone: ---
Proof of concept:
=
template
auto make_value(){
return T{};
}
template
auto call(F func