aboutsummaryrefslogtreecommitdiff
path: root/test/Parser/cxx-default-args.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-03-30 22:07:46 +0000
committerDouglas Gregor <dgregor@apple.com>2010-03-30 22:07:46 +0000
commit3be9678105f10c49c4ebc5ce353f770c3a50f9c7 (patch)
tree4a8ef2fa1cabe23d4a6311cfe88e35b506e0863a /test/Parser/cxx-default-args.cpp
parent6bb8017bb9e828d118e15e59d71c66bba323c364 (diff)
Add a test for C++ [stmt.select]p3, which specifies that redeclaring a
name in the outermost block of a if/else that declares the same name is ill-formed. Turns out that Clang and MSVC were right about PR6739; GCC is too lax. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99937 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Parser/cxx-default-args.cpp')
0 files changed, 0 insertions, 0 deletions