Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / Headers / pmmintrin.c
blob5b7a3a4ef6b9bf92f986f69fe55203fe1abc8d4d
1 // RUN: %clang_cc1 -fsyntax-only -ffreestanding %s -verify
2 // RUN: %clang_cc1 -fsyntax-only -ffreestanding -x c++ %s -verify
3 // expected-no-diagnostics
5 #if defined(i386) || defined(__x86_64__)
6 #include <pmmintrin.h>
8 int __attribute__((__target__(("sse3")))) foo(int a) {
9 _mm_mwait(0, 0);
10 return 4;
12 #endif