clang/test/CodeGen/arm-soft-float-abi-filtering.c
raw| 1 | // REQUIRES: arm-registered-target |
| 2 | // RUN: %clang_cc1 -emit-llvm -o - -triple arm-none-linux-gnueabi -target-feature "+soft-float-abi" %s | FileCheck %s |
| 3 | // RUN: %clang_cc1 -verify -triple arm-none-linux-gnueabi -target-feature "+soft-float-abi" %s |
| 4 | |
| 5 | // CHECK-NOT: +soft-float-abi |
| 6 | |
| 7 | void 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}} |