On Aug 21, 2013, at 3:53 PM, David Blaikie <[email protected]> wrote:
> 
> But in constructing this test case I stumbled across an even easier
> way to test, at least with Clang (I'm not sure this is required to
> fail to compile, though) as a compile-only test.
> 
> Declare derived's ctor constexpr - Clang will produce a compilation
> error ("error: constexpr constructor never produces a constant
> expression") if the base ctor is not constexpr. This would test the
> change that Marshall made.

Clever!
Thanks for the suggestion!

-- Marshall

Marshall Clow     Idio Software   <mailto:[email protected]>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly 
moderated down to (-1, Flamebait).
        -- Yu Suzuki


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

Reply via email to