title: Lambda capture and parameter with same name - who shadows the other? (clang vs gcc)
body: <pre><code>auto foo = "You're using g++!";
  auto compiler_detector = [foo](auto foo) { std::puts(foo); };
  compiler_detector("You're using clang++!");
  </code></pre>
  
  <ul>
  <li><p><strong>clang++ 3.6.0</strong> and newer print out <em>"You're using clang++!"</em> and warn about the <strong>capture</strong> <code>foo</code> being unused.</p></li>
  <li><p><strong>g++ 4.9.0</strong> and newer print out <em>"You're using g++!"</em> and warn about the <strong>parameter</strong> <code>foo</code> being unused.</p></li>
  </ul>
  
  <p>What compiler is more accurately following the C++ Standard here?</p>
  
  <p><a href="http://melpon.org/wandbox/permlink/FFngRM4CwRdtcCBl"><strong>wandbox example</strong></a></p>