[PowerPC] Collect some CallLowering arguments into a struct. [NFC]
[llvm-project.git] / lldb / utils / test / main.c
blobc0f600995d2613b31a7ae06d1080f1ff5fe2c2a2
1 #include <stdio.h>
2 #include <stdlib.h>
4 int main(int argc, const char *argv[]) {
5 int *null_ptr = 0;
6 printf("Hello, fault!\n");
7 u_int32_t val = (arc4random() & 0x0f);
8 printf("val=%u\n", val);
9 if (val == 0x07) // Lucky 7 :-)
10 printf("Now segfault %d\n", *null_ptr);
11 else
12 printf("Better luck next time!\n");