Use the new guard variable mangling function and get rid of the old code.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68971 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGenCXX/mangle.cpp b/test/CodeGenCXX/mangle.cpp
index f608a22..0f13527 100644
--- a/test/CodeGenCXX/mangle.cpp
+++ b/test/CodeGenCXX/mangle.cpp
@@ -42,5 +42,9 @@
// RUN: grep _ZN1N1iE %t | count 1 &&
namespace N { int i; }
-// RUN: grep _ZZN1N1fEiiE1b %t | count 2
+// RUN: grep _ZZN1N1fEiiE1b %t | count 2 &&
namespace N { int f(int, int) { static int b; return b; } }
+
+// RUN: grep "_ZZN1N1gEvE1a =" %t | count 1 &&
+// RUN: grep "_ZGVZN1N1gEvE1a =" %t | count 1
+namespace N { int h(); void g() { static int a = h(); } }