9 lines · c
1// Check that -ffixed and -fcall-saved flags work correctly together.2// RUN: %clang --target=aarch64-none-gnu \3// RUN: -ffixed-x18 \4// RUN: -fcall-saved-x18 \5// RUN: -### %s 2>&1 | FileCheck %s6 7// CHECK: "-target-feature" "+reserve-x18"8// CHECK: "-target-feature" "+call-saved-x18"9