summaryrefslogtreecommitdiff
path: root/test/Import/overloaded-function/test.c
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-04-16 16:02:28 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-04-16 16:02:28 +0000
commit7442d6faa2719e4e7d33a7021c406c5a4facd74d (patch)
treec72b9241553fc9966179aba84f90f17bfa9235c3 /test/Import/overloaded-function/test.c
parentb52119637f743680a99710ce5fdb6646da2772af (diff)
Diffstat (limited to 'test/Import/overloaded-function/test.c')
-rw-r--r--test/Import/overloaded-function/test.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Import/overloaded-function/test.c b/test/Import/overloaded-function/test.c
new file mode 100644
index 0000000000000..4f7781bc8e6d4
--- /dev/null
+++ b/test/Import/overloaded-function/test.c
@@ -0,0 +1,7 @@
+// RUN: clang-import-test -import %S/Inputs/F1.c -import %S/Inputs/F2.c -expression %s
+void expr() {
+ f(2);
+ f("world");
+ S s;
+ f(s);
+}