1 // SPDX-License-Identifier: GPL-2.0 2 #include "llvm/Support/ManagedStatic.h" 3 #include "llvm/Support/raw_ostream.h" 4 5 #if LLVM_VERSION_MAJOR < 13 6 # error "Perf requires llvm-devel/llvm-dev version 13 or greater" 7 #endif 8 9 int main() 10 { 11 llvm::errs() << "Hello World!\n"; 12 llvm::llvm_shutdown(); 13 return 0; 14 } 15