Fix ifdef ordering at the end of Intrin.h from r190965

Test that intrin.h at least parses in C++ TUs.

llvm-svn: 190978
This commit is contained in:
Reid Kleckner 2013-09-19 00:19:53 +00:00
parent 5f79e2661d
commit f0e232287a
2 changed files with 11 additions and 3 deletions

View File

@ -341,9 +341,11 @@ void __cdecl _xrstor64(void const *, unsigned __int64);
void __cdecl _xsave64(void *, unsigned __int64);
void __cdecl _xsaveopt64(void *, unsigned __int64);
#endif /* __X86_64__ */
#ifdef __cplusplus
}
#endif
#endif
#endif
#endif
#endif /* __INTRIN_H */
#endif /* _MSC_VER */

View File

@ -0,0 +1,6 @@
// RUN: %clang -target i386-pc-win32 -fms-extensions -fsyntax-only %s
#include <Intrin.h>
template <typename T>
void foo(T V) {}