summaryrefslogtreecommitdiffstats
path: root/clang/bindings/python/tests/cindex/INPUTS/hello.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-01-24 02:02:07 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-01-24 02:02:07 +0000
commit74716e5ebdd30caf6eac0ec68f2a91e1b3920a87 (patch)
tree6e6678c18e8274dbda0420accd1fd4d61383ada0 /clang/bindings/python/tests/cindex/INPUTS/hello.cpp
parent8fd2d01118d8ae82f0b08e298806f245eb694b4b (diff)
downloadbcm5719-llvm-74716e5ebdd30caf6eac0ec68f2a91e1b3920a87.tar.gz
bcm5719-llvm-74716e5ebdd30caf6eac0ec68f2a91e1b3920a87.zip
Initial checkin of CIndex Python bindings, by Andrew Sutton!
- Some tweaks by me for API changes, Darwin, and x86_64 support. Still needs substantial updating to match recent CIndex API changes. llvm-svn: 94349
Diffstat (limited to 'clang/bindings/python/tests/cindex/INPUTS/hello.cpp')
-rw-r--r--clang/bindings/python/tests/cindex/INPUTS/hello.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/bindings/python/tests/cindex/INPUTS/hello.cpp b/clang/bindings/python/tests/cindex/INPUTS/hello.cpp
new file mode 100644
index 00000000000..7ef086e56b2
--- /dev/null
+++ b/clang/bindings/python/tests/cindex/INPUTS/hello.cpp
@@ -0,0 +1,6 @@
+#include "stdio.h"
+
+int main(int argc, char* argv[]) {
+ printf("hello world\n");
+ return 0;
+}
OpenPOWER on IntegriCloud