Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: trulsjo at gmail dot com
Target Milestone: ---
Created attachment 38348
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38348&action=edit
Prerocessed source for failed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70824
--- Comment #1 from Truls Johnsen ---
Reduced the test case to only include and changed max to a
one-liner that still shows the same behavior. Removing constexpr from max, or
the (unused) template from a() makes the code compile:
#include
con
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70824
Truls Johnsen changed:
What|Removed |Added
Attachment #38348|0 |1
is obsolete|