]> granicus.if.org Git - clang/commit
Add a missing test for the __if_exists extension
authorReid Kleckner <reid@kleckner.net>
Wed, 25 Jun 2014 00:10:50 +0000 (00:10 +0000)
committerReid Kleckner <reid@kleckner.net>
Wed, 25 Jun 2014 00:10:50 +0000 (00:10 +0000)
commit450955db5aa414877c6c966660b41472ffd60b52
tree914bb57257826663ebaef3c69dbf4153cc5e3912
parent5bd096aef0b9d4caa0c1c8f4a0f28288b6464af8
Add a missing test for the __if_exists extension

MSVC does not create a new scope for the body of an __if_exists compound
statement.  Clang already gets this right today, but it was untested.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211650 91177308-0d34-0410-b5e6-96231b3b80d8
test/Parser/ms-if-exists.cpp