mirror of
https://github.com/opnsense/src.git
synced 2026-02-21 00:40:33 -05:00
18 lines
293 B
C
18 lines
293 B
C
// RUN: clang-cc -triple i386-unknown-unknown %s -emit-llvm-bc -o - | opt -std-compile-opts | llvm-dis | grep 'ret i32 6'
|
|
|
|
static enum { foo, bar = 1U } z;
|
|
|
|
int main (void)
|
|
{
|
|
int r = 0;
|
|
|
|
if (bar - 2 < 0)
|
|
r += 4;
|
|
if (foo - 1 < 0)
|
|
r += 2;
|
|
if (z - 1 < 0)
|
|
r++;
|
|
|
|
return r;
|
|
}
|
|
|