[Microsoft] If -fms-compatibility, then downgrade missing typename error to warning at function prototype scope.

llvm-svn: 141630
diff --git a/clang/test/SemaCXX/MicrosoftCompatibility.cpp b/clang/test/SemaCXX/MicrosoftCompatibility.cpp
index 1370b7d..dfc47d6 100644
--- a/clang/test/SemaCXX/MicrosoftCompatibility.cpp
+++ b/clang/test/SemaCXX/MicrosoftCompatibility.cpp
@@ -126,12 +126,12 @@
 };

 

 template <class T>

-void function_missing_typename()

+void function_missing_typename(const T::Type param)// expected-warning {{missing 'typename' prior to dependent type name}}

 {

     const T::Type var = 2; // expected-warning {{missing 'typename' prior to dependent type name}}

 }

 

-template void function_missing_typename<D>();

+template void function_missing_typename<D>(const D::Type param);

 

 }