1// RUN: %clangxx %s -o %t -fexperimental-sanitize-metadata=all && %t | FileCheck %s
2
3// Test that the compiler emits weak declarations to the callbacks, which are
4// not called if they do not exist.
5
6#include <stdio.h>
7
8int main() {
9 printf(format: "main\n");
10 return 0;
11}
12
13// CHECK: main
14

source code of compiler-rt/test/metadata/nocallback.cpp