summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-apply-replacements/Inputs/conflict/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/test/clang-apply-replacements/Inputs/conflict/common.h')
-rw-r--r--clang-tools-extra/test/clang-apply-replacements/Inputs/conflict/common.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/clang-tools-extra/test/clang-apply-replacements/Inputs/conflict/common.h b/clang-tools-extra/test/clang-apply-replacements/Inputs/conflict/common.h
new file mode 100644
index 00000000000..630a39ae525
--- /dev/null
+++ b/clang-tools-extra/test/clang-apply-replacements/Inputs/conflict/common.h
@@ -0,0 +1,17 @@
+#ifndef COMMON_H
+#define COMMON_H
+
+extern void ext(int (&)[5]);
+
+void func(int t) {
+ int ints[5];
+ for (unsigned i = 0; i < 5; ++i) {
+ ints[i] = t;
+ }
+
+ int *i = 0;
+
+ ext(ints);
+}
+
+#endif // COMMON_H
OpenPOWER on IntegriCloud