]> granicus.if.org Git - clang/commit
Add a test for `const` folding introduced by r290297. NFC.
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Tue, 27 Dec 2016 04:01:22 +0000 (04:01 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Tue, 27 Dec 2016 04:01:22 +0000 (04:01 +0000)
commit1c5728825e7473a1c73fefa7439760e065036664
treed61d4bde3b482db6462aa55f908bd5635823b001
parent21cc71f71e4d72cd26947c2559ccf909f8a012b6
Add a test for `const` folding introduced by r290297. NFC.

AFAICT, we didn't add a test targeted at the new "const can sometimes
act as constexpr" behavior introduced by r290297.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290577 91177308-0d34-0410-b5e6-96231b3b80d8
test/SemaCXX/constant-expression-cxx1y.cpp