[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Sema / warn-shadow-intrinsics.c
blob1d93ffb8cc61705126011fe371dc0759814070c9
1 // RUN: %clang_cc1 -ffreestanding -triple x86_64-apple-macosx10.8.0 -fsyntax-only %s
3 #include <emmintrin.h>
5 // Test that using two macros from emmintrin do not cause a
6 // useless -Wshadow warning.
7 void rdar10679282(void) {
8 __m128i qf = _mm_setzero_si128();
9 qf = _mm_slli_si128(_mm_add_epi64(qf, _mm_srli_si128(qf, 8)), 8); // no-warning
10 (void) qf;