https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117454
--- Comment #4 from Darrell Wright ---
#include
struct Base {
using Type = int;
};
template
struct Derived : Base {
Type field;
};
static_assert( std::is_same_v{}.field), double> );
I think this should warn too, the intent is clea
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117454
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed||2024-11-05
Status|UNCONFIRM
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117454
--- Comment #2 from Darrell Wright ---
Thanks, yeah, I forgot to add that, I did try something like -Wall -Wextra
-pedantic -pedantic-errors -Wshadow -O1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117454
Andrew Pinski changed:
What|Removed |Added
Keywords||diagnostic
--- Comment #1 from Andrew P