brintos

brintos / llvm-project-archived public Read only

0
0
Text · 358 B · 1d93ffb Raw
12 lines · c
1// RUN: %clang_cc1 -ffreestanding -triple x86_64-apple-macosx10.8.0 -fsyntax-only %s2 3#include <emmintrin.h>4 5// Test that using two macros from emmintrin do not cause a6// useless -Wshadow warning.7void rdar10679282(void) {8  __m128i qf = _mm_setzero_si128();9  qf = _mm_slli_si128(_mm_add_epi64(qf, _mm_srli_si128(qf, 8)), 8); // no-warning10  (void) qf;11}12