1 // RUN: %clang_cc1 -triple mips64 -fsyntax-only -verify %s 2 // RUN: %clang_cc1 -triple mips64 -target-feature +soft-float -fsyntax-only -verify=softfloat %s 3 4 // expected-no-diagnostics 5 test_f(float p)6void test_f(float p) { 7 float result = p; 8 __asm__("" :: "f"(result)); // softfloat-error{{invalid input constraint 'f' in asm}} 9 } 10