Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / metadata / nocallback.cpp
blobb5ce5f7ac4c9a9853561fef6b4c9b26a463a0d07
1 // RUN: %clangxx %s -o %t -fexperimental-sanitize-metadata=all && %t | FileCheck %s
3 // Test that the compiler emits weak declarations to the callbacks, which are
4 // not called if they do not exist.
6 #include <stdio.h>
8 int main() {
9 printf("main\n");
10 return 0;
13 // CHECK: main