Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / tools / build / feature / test-llvm-perf.cpp
bloba8cbb67e335e5a9ac33de75263a5fb846b8e763c
1 // SPDX-License-Identifier: GPL-2.0
2 #include "llvm/Support/ManagedStatic.h"
3 #include "llvm/Support/raw_ostream.h"
5 #if LLVM_VERSION_MAJOR < 13
6 # error "Perf requires llvm-devel/llvm-dev version 13 or greater"
7 #endif
9 int main()
11 llvm::errs() << "Hello World!\n";
12 llvm::llvm_shutdown();
13 return 0;