Skip to content

Commit 01abdab

Browse files
[clang] add __uefi__ test for aarch64 & x86_64
1 parent 1a76395 commit 01abdab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/test/Preprocessor/init.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2744,5 +2744,7 @@
27442744
// RISCV64-LINUX: #define unix 1
27452745

27462746
// RUN: %clang_cc1 -dM -triple=x86_64-uefi -E /dev/null | FileCheck -match-full-lines -check-prefix UEFI %s
2747+
// RUN: %clang_cc1 -dM -triple=aarch64-unknown-uefi -E < /dev/null | FileCheck -match-full-lines -check-prefix UEFI %s
2748+
// RUN: %clang_cc1 -dM -triple=x86_64-unknown-uefi -E /dev/null | FileCheck -match-full-lines -check-prefix UEFI %s
27472749

27482750
// UEFI: #define __UEFI__ 1

0 commit comments

Comments
 (0)