aboutsummaryrefslogtreecommitdiff
path: root/test/Modules/Inputs/codegen-opt/foo.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/Inputs/codegen-opt/foo.h')
-rw-r--r--test/Modules/Inputs/codegen-opt/foo.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Modules/Inputs/codegen-opt/foo.h b/test/Modules/Inputs/codegen-opt/foo.h
new file mode 100644
index 000000000000..b3a7af7c9d9b
--- /dev/null
+++ b/test/Modules/Inputs/codegen-opt/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() {}