[PowerPC] Collect some CallLowering arguments into a struct. [NFC]
[llvm-project.git] / compiler-rt / test / msan / preinit_array.cpp
blob6f877bac0b1c3077958b25af27c6cb4694aab86e
1 // RUN: %clangxx_msan -O0 %s -o %t && %run %t
3 #include <sanitizer/msan_interface.h>
5 volatile int global;
6 static void pre_ctor() {
7 volatile int local;
8 global = 42;
9 local = 42;
12 __attribute__((section(".preinit_array"), used)) void(*__local_pre_ctor)(void) = pre_ctor;
14 int main(void) {
15 return 0;