For PR1319: Upgrade to new test harness.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36084 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/C++Frontend/2004-11-27-EmitsUnusedInlineFunctions.cpp b/test/C++Frontend/2004-11-27-EmitsUnusedInlineFunctions.cpp
index 68df84c..794b7d7 100644
--- a/test/C++Frontend/2004-11-27-EmitsUnusedInlineFunctions.cpp
+++ b/test/C++Frontend/2004-11-27-EmitsUnusedInlineFunctions.cpp
@@ -2,6 +2,6 @@
 // verifies that it does not emit the body of getchar, because it is not used.
 // This corresponds to PR459
 
-// RUN: %llvmgxx %s -S -o - | not grep '^int .getchar'
+// RUN: %llvmgxx %s -S -o - | not grep {^i32 .getchar}
 
 #include <stdio.h>