11 lines · cpp
1// RUN: %clang_cc1 -triple x86_64-pc-win32 \2// RUN: -fms-extensions -fms-compatibility -fms-compatibility-version=17.00 \3// RUN: -ffreestanding -fsyntax-only -Werror -Wsystem-headers \4// RUN: -isystem %S/Inputs/include %s5 6#include <immintrin.h>7 8#pragma clang attribute push(__attribute__((target("avx"))), apply_to=function)9#include <intrin.h>10#pragma clang attribute pop11