repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
compiler-rt
/
test
/
metadata
/
nocallback.cpp
blob
b5ce5f7ac4c9a9853561fef6b4c9b26a463a0d07
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
8
int
main
() {
9
printf
(
"main
\n
"
);
10
return
0
;
11
}
12
13
// CHECK: main