This is an archive of the discontinued LLVM Phabricator instance.

Update template-id-expr.cpp test to work when compiler defaults to non-C++03 standard
ClosedPublic

Authored by dyung on Feb 9 2017, 9:26 PM.

Details

Summary

Recently a change was made to this test in r294639 which fails because the compiler only generates one of the warnings when the compiler is in C++03 or lower mode.

This change fixes that as well as adds explicit run lines to run the test in C++03 and C++11 modes.

Diff Detail

Event Timeline

dyung created this revision.Feb 9 2017, 9:26 PM
rsmith accepted this revision.Feb 23 2017, 4:45 PM

LGTM

This revision is now accepted and ready to land.Feb 23 2017, 4:45 PM
dyung closed this revision.Feb 23 2017, 11:29 PM

I forgot to add a reference to this in the commit message, so I'm closing this manually.

This change was submitted with commit r296066.