diff --git a/clang/test/SemaCXX/libstdcxx_pointer_return_false_hack.cpp b/clang/test/SemaCXX/libstdcxx_pointer_return_false_hack.cpp index ad936095eec7..17e1548ac50d 100644 --- a/clang/test/SemaCXX/libstdcxx_pointer_return_false_hack.cpp +++ b/clang/test/SemaCXX/libstdcxx_pointer_return_false_hack.cpp @@ -1,9 +1,9 @@ // RUN: %clang_cc1 -fsyntax-only %s -std=c++11 -verify // This is a test for an egregious hack in Clang that works around -// an issue with GCC's implementation. std::common_type -// relies on pre-standard rules for decltype(), in which it doesn't -// produce reference types so frequently. +// an issue with libstdc++-4.2's implementation. +// The code in question returns 'false' from a function with a pointer +// return type, which is ill-formed in C++11. #ifdef BE_THE_HEADER