summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/c-header.h
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-03-02 05:58:18 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-03-02 05:58:18 +0000
commit779448684662c1fb97d2daec6fbf769ca2515a6d (patch)
treeb19ea3bc584c37388126eadd15a21df44df4a1f6 /clang/test/Modules/Inputs/c-header.h
parent293a81c406a4cbc94f03a9989166534064c701e7 (diff)
downloadbcm5719-llvm-779448684662c1fb97d2daec6fbf769ca2515a6d.tar.gz
bcm5719-llvm-779448684662c1fb97d2daec6fbf769ca2515a6d.zip
Add [extern_c] attribute for modules, allowing a C module to be imported within an extern "C" block in C++ code.
llvm-svn: 202615
Diffstat (limited to 'clang/test/Modules/Inputs/c-header.h')
-rw-r--r--clang/test/Modules/Inputs/c-header.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/c-header.h b/clang/test/Modules/Inputs/c-header.h
new file mode 100644
index 00000000000..e12f6446729
--- /dev/null
+++ b/clang/test/Modules/Inputs/c-header.h
@@ -0,0 +1 @@
+int f(void);
OpenPOWER on IntegriCloud