Home | History | Annotate | Download | only in Modules
      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 // expected-no-diagnostics
      5 
      6 #ifdef __SSE__
      7 @import _Builtin_intrinsics.intel.sse;
      8 #endif
      9 
     10 #ifdef __AVX2__
     11 @import _Builtin_intrinsics.intel.avx2;
     12 #endif
     13