| 1 |
// RUN: rm -rf %t |
| 2 |
// RUN: %clang_cc1 -fsyntax-only -fmodules -fimplicit-module-maps -fmodules-cache-path=%t %s -I%S/Inputs/System/usr/include -verify |
| 3 |
// RUN: %clang_cc1 -fsyntax-only -std=c99 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t %s -I%S/Inputs/System/usr/include -verify |
| 4 |
// RUN: %clang_cc1 -fsyntax-only -fmodules -fmodule-map-file=%resource_dir/module.modulemap -fmodules-cache-path=%t %s -I%S/Inputs/System/usr/include -verify |
| 5 |
// expected-no-diagnostics |
| 6 |
|
| 7 |
#ifdef __SSE__ |
| 8 |
@import _Builtin_intrinsics.intel.sse; |
| 9 |
#endif |
| 10 |
|
| 11 |
#ifdef __AVX2__ |
| 12 |
@import _Builtin_intrinsics.intel.avx2; |
| 13 |
#endif |