Make the -fvisibility-inlines-hidden check more thorough in a hopeless attempt to fix mingw cross-compiles.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147191 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/configure b/configure
index ad20b85..62b2d1c 100755
--- a/configure
+++ b/configure
@@ -20993,11 +20993,11 @@
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
-
+template <typename T> struct X { inline void f() {} };
 int
 main ()
 {
-
+X<int>().f();
   ;
   return 0;
 }