https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107495
--- Comment #3 from Andrew Pinski ---
(In reply to Giuseppe D'Angelo from comment #1)
> Variation of the above:
The testcase in comment #1 is almost definitely the same as PR 59328.
Note the testcase in comment #0 is also rejected by clang ...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107495
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107495
--- Comment #1 from Giuseppe D'Angelo ---
Variation of the above:
struct Test {
template
operator int *() const;
};
Test t;
delete t;
also fails:
: In function 'int main()':
:32:12: error: default type conversion cannot