Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / orc / TestCases / Windows / x86-64 / Inputs / standalone-dylib.c
blobb8c56053f1c9f1bb714bfb350b0e5b1ca7112b00
1 #include <stdio.h>
2 #include <stdlib.h>
4 void Dtor() { printf("destructor\n"); }
6 int Ctor() {
7 printf("constructor\n");
8 atexit(Dtor);
9 return 0;
12 #pragma section(".CRT$XIV", long, read)
13 __declspec(allocate(".CRT$XIV")) int (*i1)(void) = Ctor;