Fixed the Fix-It hints for comparison against a string literal. Thanks, Chris!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68454 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/FixIt/fixit.c b/test/FixIt/fixit.c
index d163109..1378df4 100644
--- a/test/FixIt/fixit.c
+++ b/test/FixIt/fixit.c
@@ -4,6 +4,7 @@
    provided as part of warning or extension diagnostics. All of the
    warnings will be fixed by -fixit, and the resulting file should
    compile cleanly with -Werror -pedantic. */
+#include <string.h> // FIXME: FIX-IT hint should add this for us!
 
 void f0(void) { };
 
@@ -24,6 +25,5 @@
 
 int f2(const char *my_string) {
   // FIXME: terminal output isn't so good when "my_string" is shorter
-  // FIXME: Needs an #include hint, too!
-  //  return my_string == "foo";
+  return my_string == "foo";
 }