1 // RUN: %clang_cc1 -triple x86_64-linux -target-feature -sse2 -S -o /dev/null -verify %s
2 // REQUIRES: x86-registered-target
4 double f1(void) { // expected-error {{SSE2 register return with SSE2 disabled}}
8 void f2(void) { // expected-error {{SSE2 register return with SSE2 disabled}}
11 void take_double(double);
12 void pass_double(void) {
13 // FIXME: Still asserts.
17 double return_double(void);
18 void call_double(double *a
) { // expected-error {{SSE2 register return with SSE2 disabled}}