aboutsummaryrefslogtreecommitdiff
path: root/test/Index/Inputs/preamble.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/Index/Inputs/preamble.h')
-rw-r--r--test/Index/Inputs/preamble.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/Index/Inputs/preamble.h b/test/Index/Inputs/preamble.h
index e588c12ddc..b59c234e17 100644
--- a/test/Index/Inputs/preamble.h
+++ b/test/Index/Inputs/preamble.h
@@ -1 +1,6 @@
-int bar(int);
+inline int bar(int i) {
+ int *ptr = 0;
+ float *ptr1;
+ ptr = ptr1;
+ return 0;
+}