llvm-capstone/bolt/test/Inputs/bolt_icf.cpp
Amir Ayupov f808ea00bd [BOLT][TEST] Import small tests
Summary:
Imported small internal tests:
- asm_func_debug.test
- basic_instrumentation.test
- bolt_icf.test
- ctc_and_unreachable.test
- double_jump.test
- exceptions_args.test
- exceptions_instrumentation.test
- fptr.test

(cherry picked from FBD32032684)
2021-10-29 13:31:22 -07:00

28 lines
213 B
C++

int fiz() {
return fiz();
}
int faz() {
return faz();
}
int zip () {
return 0;
}
int zap () {
return 0;
}
int foo () {
return zip();
}
int bar () {
return zap();
}
int main() {
return foo();
}