Re: Testing macros that throw errors at compile time?

2015-01-24 Thread Scott Rabin
n should be true >> >> As long as you know that the *right* exception is being thrown. >> >> On Thu, Jan 22, 2015 at 4:41 PM, Scott Rabin > > wrote: >> >>> We have a few macros in my employer's codebase that throw compile-time >>> errors

Testing macros that throw errors at compile time?

2015-01-22 Thread Scott Rabin
We have a few macros in my employer's codebase that throw compile-time errors when you've given them invalid configurations, and have generally simply tested the result of these macros and not necessarily the direct expansion of said macros. What we would like to do is *test* that the macro blo