Skip to content

Commit 6d242b0

Browse files
[clang] add __uefi__ test for aarch64 & x86_64
1 parent e0d525f commit 6d242b0

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
@@ -2835,6 +2835,8 @@
28352835
// RISCV64-LINUX: #define unix 1
28362836

28372837
// RUN: %clang_cc1 -dM -triple=x86_64-uefi -E /dev/null | FileCheck -match-full-lines -check-prefix UEFI %s
2838+
// RUN: %clang_cc1 -dM -triple=aarch64-unknown-uefi -E < /dev/null | FileCheck -match-full-lines -check-prefix UEFI %s
2839+
// RUN: %clang_cc1 -dM -triple=x86_64-unknown-uefi -E /dev/null | FileCheck -match-full-lines -check-prefix UEFI %s
28382840

28392841
// UEFI: #define __UEFI__ 1
28402842

0 commit comments

Comments
 (0)