1 | // RUN: %clang_cc1 -fsyntax-only -ffreestanding %s -verify |
---|---|
2 | // RUN: %clang_cc1 -fsyntax-only -ffreestanding -x c++ %s -verify |
3 | // expected-no-diagnostics |
4 | |
5 | #if defined(i386) || defined(__x86_64__) |
6 | #include <pmmintrin.h> |
7 | |
8 | int __attribute__((__target__(("sse3")))) foo(int a) { |
9 | _mm_mwait(0, 0); |
10 | return 4; |
11 | } |
12 | #endif |
13 |