Skip to content

Commit 76df571

Browse files
committed
Add regression test
1 parent 01e40e4 commit 76df571

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

clang/test/Headers/no-xend.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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 %s
5+
6+
#include <immintrin.h>
7+
8+
#pragma clang attribute push(__attribute__((target("avx"))), apply_to=function)
9+
#include <intrin.h>
10+
#pragma clang attribute pop

0 commit comments

Comments
 (0)