This adds a test for PR24071. Its purpose is to make sure that we do not assert after identifying an error in inline asm.
It has to be added in Clang because llc exits after identifying the error, and therefore never reaches the assert. The situation is similar to [1].
http://reviews.llvm.org/D20156
[1] https://www.mail-archive.com/cfe-commits@cs.uiuc.edu/msg70985.html