[clang][lex] NFCI: Use DirectoryEntryRef in ModuleMap::inferFrameworkModule()
[llvm-project.git] / clang / test / Headers / __cpuidex_conflict.c
blob0eff1ff425f83e4d01700b10e27d3f248d9cdc21
1 // Make sure that __cpuidex in cpuid.h doesn't conflict with the MS
2 // compatibility built in by ensuring compilation succeeds:
3 // RUN: %clang_cc1 %s -ffreestanding -fms-extensions -fms-compatibility \
4 // RUN: -fms-compatibility-version=19.00 -triple x86_64-pc-windows-msvc -emit-llvm -o -
6 typedef __SIZE_TYPE__ size_t;
8 #include <intrin.h>
9 #include <cpuid.h>
11 int cpuid_info[4];
13 void test_cpuidex(unsigned level, unsigned count) {
14 __cpuidex(cpuid_info, level, count);