This is an archive of the discontinued LLVM Phabricator instance.

Fix test to specify C++03 (fails with C++11).
AbandonedPublic

Authored by probinson on Jun 18 2016, 4:57 PM.

Details

Reviewers
rsmith
ogoffart
Summary

Test fails if Clang defaults to C++11. I didn't track down exactly which RUN lines needed this, seemed simplest to put it on all of them.

Diff Detail

Event Timeline

probinson updated this revision to Diff 61177.Jun 18 2016, 4:57 PM
probinson retitled this revision from to Fix test to specify C++03 (fails with C++11)..
probinson updated this object.
probinson added reviewers: rsmith, ogoffart.
probinson added a subscriber: cfe-commits.
ogoffart edited edge metadata.Jun 19 2016, 12:38 AM

I'm sorry for commiting broken test.

However this is supposed to work also in C++11 mode. I'm investigating what's wrong.

I made http://reviews.llvm.org/D21502 that should also fix this test.

probinson abandoned this revision.Jun 20 2016, 2:07 AM

A proper fix is obviously better than patching the test!