Skip to content

Commit 2bdba34

Browse files
committed
Add a second test for __UEFI__ predefine.
1 parent 8e9ef1f commit 2bdba34

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

clang/test/Preprocessor/init.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2742,3 +2742,7 @@
27422742
// RISCV64-LINUX: #define __unix__ 1
27432743
// RISCV64-LINUX: #define linux 1
27442744
// RISCV64-LINUX: #define unix 1
2745+
2746+
// RUN: %clang_cc1 -dM -triple=x86_64-uefi -E /dev/null | FileCheck -match-full-lines -check-prefix UEFI %s
2747+
2748+
// UEFI: #define __UEFI__ 1

0 commit comments

Comments
 (0)