summaryrefslogtreecommitdiffstats
path: root/tools/build/feature/test-llvm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build/feature/test-llvm.cpp')
-rw-r--r--tools/build/feature/test-llvm.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/build/feature/test-llvm.cpp b/tools/build/feature/test-llvm.cpp
new file mode 100644
index 000000000000..d8d2cee35345
--- /dev/null
+++ b/tools/build/feature/test-llvm.cpp
@@ -0,0 +1,8 @@
+#include "llvm/Support/ManagedStatic.h"
+#include "llvm/Support/raw_ostream.h"
+int main()
+{
+ llvm::errs() << "Hello World!\n";
+ llvm::llvm_shutdown();
+ return 0;
+}