This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Disable a test that violates DR1696
ClosedPublic

Authored by aheejin on Jul 19 2018, 5:01 PM.

Details

Summary

lifetime2.C violates DR1696, which prevents reference members from being
initialized to temporaries, whose lifetime would end at the end of ctor.

Diff Detail

Repository
rL LLVM

Event Timeline

aheejin created this revision.Jul 19 2018, 5:01 PM
sbc100 accepted this revision.Jul 19 2018, 5:10 PM

Do did enforcement of this rule increase recently? I wonder if they knew they would break existing code.

Any lgtm.

This revision is now accepted and ready to land.Jul 19 2018, 5:10 PM
This revision was automatically updated to reflect the committed changes.