Skip to content
Commit 504662f2 authored by Douglas Gregor's avatar Douglas Gregor
Browse files

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
parent 16df1e59
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment