xref: /llvm-project/clang/test/Driver/uefi-defines.c (revision ac586fd204e92b76b1ee255342ba26a45a29a1d9)
1*ac586fd2SPrabhuk // RUN: %clang -target x86_64-unknown-uefi %s -emit-llvm -S -c -o - | FileCheck %s
2*ac586fd2SPrabhuk 
3*ac586fd2SPrabhuk // CHECK: __UEFI__defined
4*ac586fd2SPrabhuk #ifdef __UEFI__
5*ac586fd2SPrabhuk void __UEFI__defined() {}
6*ac586fd2SPrabhuk #endif
7