/* C++ handles type genericity with overloading in math.h. */
#ifndef __cplusplus
-#if __has_include(<complex.h>)
-# include <complex.h>
-#endif
+#include <complex.h>
#define _TG_ATTRSp __attribute__((__overloadable__))
#define _TG_ATTRS __attribute__((__overloadable__, __always_inline__))
// RUN: rm -rf %t
// RUN: %clang -fsyntax-only -fmodules -fmodule-cache-path %t %s -Xclang -verify
+// Note: disable test on MSVC, which doesn't have <complex.h>.
+// REQUIRES: shell
+
@import __compiler_builtins.float_constants;
float getFltMax() { return FLT_MAX; }