1 // RUN: %clang_cc1 -ffreestanding -triple x86_64-apple-macosx10.8.0 -fsyntax-only %s
2 
3 #include <emmintrin.h>
4 
5 // Test that using two macros from emmintrin do not cause a
6 // useless -Wshadow warning.
rdar10679282()7 void rdar10679282() {
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;
11 }
12