summaryrefslogtreecommitdiffstats
path: root/test/Index/Inputs
diff options
context:
space:
mode:
Diffstat (limited to 'test/Index/Inputs')
-rw-r--r--test/Index/Inputs/guarded.h6
-rw-r--r--test/Index/Inputs/pragma-once.h3
2 files changed, 9 insertions, 0 deletions
diff --git a/test/Index/Inputs/guarded.h b/test/Index/Inputs/guarded.h
new file mode 100644
index 0000000..0a1a6ac
--- /dev/null
+++ b/test/Index/Inputs/guarded.h
@@ -0,0 +1,6 @@
+#ifndef GUARDED_HEADER_H
+#define GUARDED_HEADER_H
+
+int y;
+
+#endif // GUARDED_HEADER_H
diff --git a/test/Index/Inputs/pragma-once.h b/test/Index/Inputs/pragma-once.h
new file mode 100644
index 0000000..503cb3f
--- /dev/null
+++ b/test/Index/Inputs/pragma-once.h
@@ -0,0 +1,3 @@
+#pragma once
+int i;
+
OpenPOWER on IntegriCloud