aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pch/inline-1.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/pch/inline-1.h')
-rw-r--r--gcc/testsuite/gcc.dg/pch/inline-1.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/pch/inline-1.h b/gcc/testsuite/gcc.dg/pch/inline-1.h
new file mode 100644
index 0000000..e8f1d6f
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/pch/inline-1.h
@@ -0,0 +1,5 @@
+extern inline int
+foo(int a)
+{
+ return a * 2 + 1;
+}