diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-03-30 22:07:46 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-03-30 22:07:46 +0000 |
commit | 504662f28f93c8c65e1c15b768e2d95ca205bd03 (patch) | |
tree | 3dcfb85207f33430c2b920f2bad92d713ac60856 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 16df1e59f2bb77de9ccdbc36262679d84f8a7d54 (diff) | |
download | bcm5719-llvm-504662f28f93c8c65e1c15b768e2d95ca205bd03.tar.gz bcm5719-llvm-504662f28f93c8c65e1c15b768e2d95ca205bd03.zip |
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.
llvm-svn: 99937
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions