summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/codegen/foo.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Modules/Inputs/codegen/foo.h')
-rw-r--r--clang/test/Modules/Inputs/codegen/foo.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/codegen/foo.h b/clang/test/Modules/Inputs/codegen/foo.h
new file mode 100644
index 00000000000..b3a7af7c9d9
--- /dev/null
+++ b/clang/test/Modules/Inputs/codegen/foo.h
@@ -0,0 +1,10 @@
+void f1(int &);
+static void f2() {}
+inline void foo() {
+ static int i;
+ f1(i);
+ f2();
+}
+inline void foo2() {
+}
+void foo_ext() {}
OpenPOWER on IntegriCloud