xref: /linux/tools/build/feature/test-llvm-perf.cpp (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
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 
main()9 int main()
10 {
11 	llvm::errs() << "Hello World!\n";
12 	llvm::llvm_shutdown();
13 	return 0;
14 }
15