llvm-project/clang/test/Modules/compiler_builtins.m

13 lines
420 B
Mathematica
Raw Normal View History

// RUN: rm -rf %t
// RUN: %clang -fsyntax-only -fmodules -fmodule-cache-path %t -D__need_wint_t %s -Xclang -verify
// RUN: %clang -fsyntax-only -std=c99 -fmodules -fmodule-cache-path %t -D__need_wint_t %s -Xclang -verify
// expected-no-diagnostics
#ifdef __SSE__
@__experimental_modules_import _Builtin_intrinsics.intel.sse;
#endif
#ifdef __AVX2__
@__experimental_modules_import _Builtin_intrinsics.intel.avx2;
#endif