brintos

brintos / llvm-project-archived public Read only

0
0
Text · 480 B · cae0bbc Raw
10 lines · c
1// REQUIRES: arm-registered-target2// RUN: %clang_cc1 -emit-llvm -o - -triple arm-none-linux-gnueabi -target-feature "+soft-float-abi" %s | FileCheck %s3// RUN: %clang_cc1 -verify -triple arm-none-linux-gnueabi -target-feature "+soft-float-abi" %s4 5// CHECK-NOT: +soft-float-abi6 7void foo() {}8__attribute__((target("crc"))) void bar() {}9__attribute__((target("soft-float-abi"))) void baz() {} // expected-warning{{unsupported 'soft-float-abi' in the 'target' attribute string}}10