diff options
Diffstat (limited to 'test/Sema/x86-builtin-palignr.c')
-rw-r--r-- | test/Sema/x86-builtin-palignr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Sema/x86-builtin-palignr.c b/test/Sema/x86-builtin-palignr.c index 6e1303c..6f4b90d 100644 --- a/test/Sema/x86-builtin-palignr.c +++ b/test/Sema/x86-builtin-palignr.c @@ -4,7 +4,9 @@ #include <tmmintrin.h> __m64 test1(__m64 a, __m64 b, int c) { - return _mm_alignr_pi8(a, b, c); // expected-error {{argument to '__builtin_ia32_palignr' must be a constant integer}} + // FIXME: The "incompatible result type" error is due to pr10112 and should + // be removed when that is fixed. + return _mm_alignr_pi8(a, b, c); // expected-error {{argument to '__builtin_ia32_palignr' must be a constant integer}} expected-error {{incompatible result type}} } int test2(int N) { |