<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 19, 2013 at 7:18 PM, Richard Smith <span dir="ltr"><<a href="mailto:richard-llvm@metafoo.co.uk" target="_blank" class="cremed">richard-llvm@metafoo.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":5h7" style="overflow:hidden">Added: cfe/trunk/test/SemaCXX/libstdcxx_pointer_return_false_hack.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/libstdcxx_pointer_return_false_hack.cpp?rev=184395&view=auto" target="_blank" class="cremed">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/libstdcxx_pointer_return_false_hack.cpp?rev=184395&view=auto</a><br>
==============================================================================<br>
--- cfe/trunk/test/SemaCXX/libstdcxx_pointer_return_false_hack.cpp (added)<br>
+++ cfe/trunk/test/SemaCXX/libstdcxx_pointer_return_false_hack.cpp Wed Jun 19 21:18:31 2013<br>
@@ -0,0 +1,34 @@<br>
+// RUN: %clang_cc1 -fsyntax-only %s -std=c++11 -verify<br>
+<br>
+// This is a test for an egregious hack in Clang that works around<br>
+// an issue with GCC's <type_traits> implementation. std::common_type<br>
+// relies on pre-standard rules for decltype(), in which it doesn't<br>
+// produce reference types so frequently.</div></blockquote></div><br>This comment looks like a stale one from the test you copied for this one.</div></div>