summaryrefslogtreecommitdiff
path: root/tools/build/feature/test-llvm.cpp
blob: 455a332dc8a8f6df734de6bbec7c3eb914490808 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/raw_ostream.h"
#define NUM_VERSION (((LLVM_VERSION_MAJOR) << 16) + (LLVM_VERSION_MINOR << 8) + LLVM_VERSION_PATCH)

#if NUM_VERSION < 0x030900
# error "LLVM version too low"
#endif
int main()
{
	llvm::errs() << "Hello World!\n";
	llvm::llvm_shutdown();
	return 0;
}
t/commit/drivers/usb/serial/xsens_mt.c?id=69973b830859bc6529a7a0468ba0d80ee5117826'>69973b830859bc6529a7a0468ba0d80ee5117826 (patch) tree5f11fe15ed9d9a3ab9c92242030e54b73ecdce45 /drivers/usb/serial/xsens_mt.c parent2e4333c14de06a333783d6812cf3c4998f78b0c8 (diff)
Linux 4.9
Diffstat (limited to 'drivers/usb/serial/xsens_mt.c')