[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Driver / aarch64-fixed-call-saved-x-register.c
blobaa781fda91e872196029d6219143a9c19da2e024
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 %s
7 // CHECK: "-target-feature" "+reserve-x18"
8 // CHECK: "-target-feature" "+call-saved-x18"