forked from Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
365 B
14 lines
365 B
// SPDX-License-Identifier: GPL-2.0 |
|
#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; |
|
}
|
|
|