bolt/deps/llvm-18.1.8/clang/test/CodeGen/2003-11-18-CondExprLValue.c
2025-02-14 19:21:04 +01:00

9 lines
212 B
C

// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
typedef struct { unsigned long pgprot; } pgprot_t;
void split_large_page(unsigned long addr, pgprot_t prot)
{
(addr ? prot : ((pgprot_t) { 0x001 } )).pgprot;
}