fix test by applying it in top namespace: PR8007 only showed up this way

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112338 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaTemplate/inject-templated-friend.cpp b/test/SemaTemplate/inject-templated-friend.cpp
index 56feae5..a987b80 100644
--- a/test/SemaTemplate/inject-templated-friend.cpp
+++ b/test/SemaTemplate/inject-templated-friend.cpp
@@ -1,6 +1,5 @@
-// RUN: %clang %s -S -emit-llvm -o - | grep -e "define linkonce_odr.*_ZN6pr8007lsERNS_11std_ostreamERKNS_8StreamerINS_3FooEEE"
-
-namespace pr8007 {
+// RUN: %clang %s -S -emit-llvm -o - | grep -e "define linkonce_odr.*_ZlsR11std_ostreamRK8StreamerI3FooE"
+// PR8007: friend function either not instantiated.
 
 struct std_ostream
 {
@@ -38,11 +37,8 @@
 {
 }
 
-} // namespace pr8007
-
 int main(void)
 {
-    using namespace pr8007;
     Foo foo;
     cout << foo;
 }