Add a test case for a fixed PR just to ensure we don't regress.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94957 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaCXX/static-cast.cpp b/test/SemaCXX/static-cast.cpp
index cdaa843..812f280 100644
--- a/test/SemaCXX/static-cast.cpp
+++ b/test/SemaCXX/static-cast.cpp
@@ -178,3 +178,6 @@
   
   const X2 *x2;
 };
+
+// PR5897 - accept static_cast from const void* to const int (*)[1].
+void PR5879() { (void)static_cast<const int(*)[1]>((const void*)0); }