aboutsummaryrefslogtreecommitdiff
path: root/test/Import/extern-c-function/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Import/extern-c-function/test.cpp')
-rw-r--r--test/Import/extern-c-function/test.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Import/extern-c-function/test.cpp b/test/Import/extern-c-function/test.cpp
new file mode 100644
index 000000000000..50227cdf9c2b
--- /dev/null
+++ b/test/Import/extern-c-function/test.cpp
@@ -0,0 +1,4 @@
+// RUN: clang-import-test -import %S/Inputs/F.cpp -expression %s
+void expr() {
+ f(2);
+} \ No newline at end of file