]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - packages/Python/lldbsuite/test/expression_command/rdar42038760/main.c
Vendor import of lldb trunk r338150:
[FreeBSD/FreeBSD.git] / packages / Python / lldbsuite / test / expression_command / rdar42038760 / main.c
1 // Make sure we IR-interpret the expression correctly.
2
3 typedef unsigned int uint32_t;
4 struct S0 {
5   signed f2;
6 };
7 static g_463 = 0x1561983AL;
8 void func_1(void)
9 {
10   struct S0 l_19;
11   l_19.f2 = 419;
12   uint32_t l_4037 = 4294967295UL;
13   l_19.f2 = g_463; //%self.expect("expr ((l_4037 % (-(g_463))) | l_19.f2)", substrs=['(unsigned int) $0 = 358717883'])
14 }
15 int main()
16 {
17   func_1();
18   return 0;
19 }