This is an archive of the discontinued LLVM Phabricator instance.

[TestRvalueReferences] Fix an expectation.
ClosedPublic

Authored by sivachandra on Apr 13 2015, 11:46 AM.

Details

Summary

If 'i' is an rvalue reference to an 'int', evaluating it with the
'expression' command will return an 'int' value and not an 'int &&'.
Before this patch, an 'int &&' type was expected.

Enabled the test for clang and gcc as all parts of the test now pass
when the testcase is compiled with them.

Diff Detail

Repository
rL LLVM

Event Timeline

sivachandra retitled this revision from to [TestRvalueReferences] Fix an expectation..
sivachandra updated this object.
sivachandra edited the test plan for this revision. (Show Details)
sivachandra added a reviewer: spyffe.
sivachandra added a subscriber: Unknown Object (MLST).

ping?
Does this qualify as obvious?

This revision was automatically updated to reflect the committed changes.