diff --git a/flang/test/Lower/mcmodel.f90 b/flang/test/Lower/mcmodel.f90 index dd9eb145f5e2a8..971dc3b9056fe9 100644 --- a/flang/test/Lower/mcmodel.f90 +++ b/flang/test/Lower/mcmodel.f90 @@ -1,3 +1,5 @@ +! REQUIRES: aarch64-registered-target && x86-registered-target + ! RUN: %flang_fc1 -triple aarch64 -emit-llvm -mcmodel=tiny %s -o - | FileCheck %s -check-prefix=CHECK-TINY ! RUN: %flang_fc1 -emit-llvm -mcmodel=small %s -o - | FileCheck %s -check-prefix=CHECK-SMALL ! RUN: %flang_fc1 -triple x86_64-unknown-linux-gnu -emit-llvm -mcmodel=kernel %s -o - | FileCheck %s -check-prefix=CHECK-KERNEL