brintos

brintos / llvm-project-archived public Read only

0
0
Text · 318 B · 7da248f Raw
10 lines · c
1// RUN: %clang_cc1 -triple mips64 -fsyntax-only -verify %s2// RUN: %clang_cc1 -triple mips64 -target-feature +soft-float -fsyntax-only -verify=softfloat %s3 4// expected-no-diagnostics5 6void test_f(float p) {7  float result = p;8  __asm__("" :: "f"(result)); // softfloat-error{{invalid input constraint 'f' in asm}}9}10