Hi,

Attached is a patch replacing a "cast" with a "dyn_cast" to solve
a compiler crash when a user-defined literal is defined with a
template type parameter rather than a template non-type parameter.

Spotted during code review.  'Spect it was just a typo!

Test-case included.

Cheers
Andy

Attachment: lit.diff
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to